Method, device and computer readable storage medium for interacting with virtual objects

By displaying virtual resources in the virtual scene, moving to resource collection props and upgrading resource consumption equipment, the interaction methods of virtual objects are enriched, solving the problem of single interaction methods in existing technologies, and improving the interactivity of the game and the player's sense of participation.

CN120393418BActive Publication Date: 2025-10-10DIANDIAN INTERACTIVE (BEIJING) TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the interaction mode of virtual objects is single and the interaction rate is low, which leads to a single game play and a lack of interactivity and fun.

Method used

By displaying virtual resources moving to resource collection props and upgrading resource consumption equipment, the environmental parameters in the target area can be adjusted or maintained to enrich the interaction methods of virtual objects.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120393418B_ABST
    Figure CN120393418B_ABST
Patent Text Reader

Abstract

The application discloses an interaction method and device of a virtual object, 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; in the case that a first condition is met, displaying that the virtual resource moves from a position where the virtual resource is located to a resource collection prop corresponding to the first virtual object; and in the case that a second condition is met, displaying that a virtual resource upgraded by the resource collection prop corresponding to the first virtual object has collected a resource consumption equipment, so as to adjust or maintain an environmental parameter for the survival of the first virtual object in a target area affected by the resource consumption equipment. The method makes the interaction mode of the virtual object diversified, and the interaction mode is more flexible, thereby enriching the game play.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of human-computer interaction, and in particular to a method, apparatus, device, and computer-readable storage medium for interacting with virtual objects. Background Art

[0002] With the continuous development of computer technology, the variety of electronic games has become increasingly diverse. For example, shooting games, role-playing games, and business strategy games are available. In electronic games, users can control the activities of virtual objects in a virtual scene, such as controlling the movement of virtual objects in the virtual scene.

[0003] In the related art, virtual resources exist in a virtual scene, and a game object can control the movement of a virtual object in the virtual scene to obtain the virtual resources in the virtual scene.

[0004] However, in the above method, virtual objects can only obtain virtual resources, which makes the interaction method of virtual objects relatively simple and the interaction rate low. Summary of the Invention

[0005] The embodiments of the present application provide a virtual object interaction method, apparatus, device, and readable storage medium, which can be used to solve problems in related technologies. The technical solution is as follows:

[0006] In one aspect, an embodiment of the present application provides a method for interacting with a virtual object, the method comprising:

[0007] displaying a first virtual object and a virtual resource located in a virtual scene;

[0008] When the first condition is met, displaying the virtual resource moving from the location of the virtual resource to the resource collection item corresponding to the first virtual object;

[0009] When the second condition is met, the virtual resources collected by the resource collection prop corresponding to the first virtual object are displayed to upgrade the resource consumption equipment to adjust or maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment.

[0010] On the other hand, an embodiment of the present application provides a virtual object interaction device, the device comprising:

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

[0012] The display module is further configured to display, when a first condition is satisfied, that the virtual resource moves from the location of the virtual resource to the resource collection item corresponding to the first virtual object;

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

[0014] In one possible implementation, the display module is configured to, when the second condition is met, 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 survival of the first virtual object in the target area affected by the resource consumption equipment, wherein after the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are better than the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded; or

[0015] 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 props corresponding to the first virtual object are displayed to upgrade the resource consumption equipment to maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are the same as the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded, and the second scene environment is worse than the first scene environment.

[0016] In one possible implementation, the upgraded level of the resource-consuming equipment is determined based on the amount of virtual resources collected by the resource-collecting 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 upgraded level of the resource-consuming equipment.

[0017] In a possible implementation, the environmental parameter for the first virtual object to survive in the target area affected by the resource-consuming equipment includes a 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 comprises:

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

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

[0022] In one possible implementation, the display module is further 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 upgraded level 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 a hostile virtual object of the first virtual object.

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

[0024] 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 a current level to a next level;

[0025] The amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the amount 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;

[0026] The amount 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 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.

[0028] In one possible implementation, the display module 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 that the resource-consuming equipment can be upgraded, 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.

[0029] In a possible implementation, the display module is further configured to display an indication element in response to a triggering operation on the prompt control, where the indication element indicates a 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 consumption equipment, and an appearance of the upgraded resource consumption equipment is different from an appearance of the resource consumption equipment before being upgraded.

[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 prop, and the first virtual prop is used to remove the granular coverings within an application range of the first virtual prop.

[0032] The apparatus further includes:

[0033] The adjusting module is configured to adjust the application range of the first virtual prop, and the adjusted application range of the first virtual prop is greater than the application range of the first virtual prop before being adjusted.

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

[0035] The transferring module is configured to transfer a second virtual prop to a control object of the first virtual object, and the second virtual prop is used to make a temperature of a second region be a reference temperature in a case where the first virtual object is equipped with the second virtual prop, the second region is determined based on a position of the first virtual object, and the reference temperature is determined based on the second virtual prop.

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

[0037] The determining module is configured to determine a third region according to the position of the resource consumption equipment and the adjusted level of the resource consumption equipment, and the third region is greater than a safety region provided by the upgraded resource consumption equipment.

[0038] The display module is further configured to display that a virtual resource existing in the third region moves from a position of the virtual resource to a resource collection prop corresponding to the first virtual object.

[0039] In another aspect, an embodiment of the present application provides a computer device, which includes a processor and a memory, and the memory stores at least one program code, the at least one program code is loaded and executed by the processor, so that the computer device implements the virtual object interaction method described above.

[0040] In another aspect, a computer readable storage medium is also provided, and the computer readable storage medium stores at least one program code, the at least one program code is loaded and executed by a processor, so that the computer implements the virtual object interaction method described above.

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

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

[0043] The technical solution provided in the embodiment of the present application allows a game object to control the movement of a first virtual object in a virtual scene. When a first condition is met, the virtual resource is displayed moving from the location of the virtual resource 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 a second condition is met, the virtual resources collected by the first virtual object are used to upgrade the resource-consuming equipment to adjust or maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment. This method allows the game object to not only collect virtual resources in the virtual scene, but also consume virtual resources to upgrade the resource-consuming equipment, thereby diversifying the interaction mode of the virtual object and making the interaction mode more flexible, improving the interaction rate of the virtual object, and thus enriching the gameplay of the game, making the game more playable, and increasing the interactive fun of the game, thereby enhancing the player's sense of participation and accomplishment in the game, thereby improving the interactivity of the game and user retention rate. BRIEF DESCRIPTION OF THE DRAWINGS

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

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

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

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

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

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

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

[0051] Figure 7 is a schematic diagram of an indicator element provided in an embodiment of the present application;

[0052] Figure 8 This is a schematic diagram of upgrading resource-consuming equipment using virtual resources collected by a resource collection item corresponding to a first virtual object provided by an embodiment of the present application;

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

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

[0055] Figure 11 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

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

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

[0060] Virtual object: refers to an active object in a virtual scene, which can be a virtual person, a virtual animal, an animation character, etc. A user can control the virtual object through a peripheral component or by clicking a touch 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. Illustratively, when the virtual scene is a three-dimensional virtual scene, the virtual object is a three-dimensional model created based on animation skeleton technology.

[0061] Figure 1 is a schematic diagram of a computer system provided by an embodiment of the present application, as shown in the figure, the computer system includes a terminal device 101 and a server 102. Wherein, the terminal device 101 is installed and runs a game client, the virtual object interaction method provided by the embodiment of the present application can be executed by the terminal device 101, or can be executed by the terminal device 101 and the server 102 together, the embodiment of the present application does not limit this. Figure 1

[0062] The server 102 is used to provide background service 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, the terminal device 101 and the server 102 adopt a distributed computing architecture 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 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 may be any electronic device that can interact with a 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 may 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 computer, a smart TV, etc.

[0066] Terminal device 101 may generally refer to one of multiple terminal devices. This embodiment uses terminal device 101 as an example. Those skilled in the art will appreciate that the number of terminal devices 101 may be greater or lesser. For example, there may be only one terminal device 101, or there may be dozens, hundreds, or even more terminal devices 101. This embodiment of the application does not limit the number or type of terminal devices 101.

[0067] The server 102 is a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server 102 is directly or indirectly connected to the terminal device 101 via 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, which are not limited in the embodiments of the present application.

[0068] In the virtual object interaction method provided in the present application, the terminal device 101 displays the game interface shown in (1), wherein the game interface shown in (1) displays a first virtual object 103 located in a virtual scene, the first virtual object 103 holds a first virtual prop 104, and the first virtual prop 104 is used to eliminate granular coverings within the application range 105 of the first virtual prop 104; when the first virtual prop 104 eliminates the granular coverings within the application range 105 of the first virtual prop 104 and there is a virtual resource 106 within the application range 105 of the first virtual prop 104, the game interface shown in (2) is displayed, wherein the game interface shown in (2) displays the virtual resource 106 located in the virtual scene. When the distance between the first virtual object 103 and the virtual resource 106 is less than a distance threshold, the virtual resource 106 is displayed to move from the location of the virtual resource 106 to the resource collection prop corresponding to the first virtual object 103.

[0069] When the amount of virtual resources collected by the resource collection item corresponding to the first virtual object 103 is not less than the amount threshold, and the first virtual object 103 is located in the reference area 107, the game interface shown in (3) is displayed, and the game interface shown in (3) shows 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, and the appearance of the resource consumption equipment 108 in the game interface shown in (4) changes, the safety area provided by the resource consumption equipment 108 becomes larger, and the scene temperature of the virtual scene becomes higher.

[0070] 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 safe area provided by the resource consumption equipment 108 .

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

[0072] The embodiment of the present application provides a method for interacting with a virtual object. The method can be applied to the above Figure 1 The computer system shown in Figure 2 As an example, the flowchart of a virtual object interaction method provided in the embodiment of the present application is shown. The method can be performed by Figure 1 The terminal device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 203.

[0073] In step 201 , a first virtual object and a virtual resource located in a 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 running in a terminal device. The game client can be a client for any game, and the embodiments of the present application are not limited to this. Exemplarily, the game client is a business strategy client. Multiple virtual objects can be displayed in the virtual scene, wherein different virtual objects can be controlled by different terminal devices or servers. In addition to displaying virtual objects, virtual elements can also be displayed in the virtual scene. Among them, the virtual elements can be any elements, and the embodiments of the present application are not limited to virtual elements. Optionally, virtual elements can include mountains, plains, rivers, lakes, oceans, deserts, swamps, quicksand, sky, plants, snow, buildings, coal balls, snowmen, etc. The description of virtual scenes in this application is only an exemplary description and does not limit virtual scenes.

[0075] Optionally, the display interface of the terminal device displays relevant information about the game client. The relevant information about 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. This embodiment of the present application does not limit this. When the game object wants to run the game client, the game object triggers the relevant information about the game client. The terminal device responds to the triggering operation for the relevant information of the game client, runs the game client, and displays the game interface. The game interface displays a first virtual object located in a virtual scene, the virtual scene is covered by a granular covering, the first virtual object performs a scene exploration task in the virtual scene, and the first virtual object holds a first virtual prop, which is used to eliminate the granular covering within the application range of the first virtual prop.

[0076] Scene exploration tasks are tasks in the game that focus on expanding vision and / or collecting resources. Game objects can explore virtual scenes by controlling the first virtual object to move and interact in the virtual scene, thereby advancing the game process, obtaining virtual resources or unlocking virtual scenes.

[0077] Optionally, the virtual scene is covered by a granular overlay. The scene exploration task is to eliminate the granular overlay in the virtual scene. Alternatively, virtual resources exist in the virtual scene, and the scene exploration task is to collect the virtual resources in the virtual scene. Alternatively, virtual resources exist in the virtual scene and are covered by a granular overlay. The scene exploration task is to eliminate the granular overlay in the virtual scene and collect the virtual resources in the virtual scene.

[0078] Among them, the first virtual object is a virtual object controlled by a game object of a terminal device, or the first virtual object is a virtual object controlled by a client, and the embodiments of the present application do not limit this. The triggering operation for the relevant information of the game client includes at least one of a touch operation, a handle triggering operation, a voice command triggering operation or a gesture triggering operation for the relevant information of the game client. The triggering operation for other content in the following content is similar to the triggering operation for the relevant information of the game client. When the triggering operation for other content is involved in the following content, the embodiments of the present application will not be repeated.

[0079] Optionally, the granular covering may be snow, water, sand, or other materials, which are not limited in this embodiment of the present application. The application range of the first virtual prop is determined based on the location of the first virtual object.

[0080] In one possible implementation, the application range of the first virtual prop is determined based on the location of the first virtual object, the first length, and the first angle. The first length and the first angle are determined based on a target number, which 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 number, the larger the first length and the first angle, and the larger the application range of the first virtual prop. For example, if there are three virtual objects whose states are changed by the first virtual object, the target number is 3, the first length determined based on the target number is 1 meter, and the first angle is 30 degrees.

[0081] Optionally, the application range of the first virtual prop is a sector with the position of the first virtual object as the vertex, the first length as the radius, and the first angle as the arc angle. For example, the application range of the first virtual prop is a sector with the position of the first virtual object 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 prop held by the first virtual object is a sector-shaped area with the position of the first virtual object itself as the vertex, the first length as the radius, and the first angle as the arc angle. This greatly expands the application range of the first virtual prop, allowing the first virtual object to cover a larger range without having to move significantly, thereby improving the elimination efficiency of the first virtual object.

[0083] In response to the first virtual prop removing the granular covering within the application range of the first virtual prop, and a virtual resource existing within the application range of the first virtual prop, the virtual resource located in the virtual scene is displayed. The virtual resource may be coal briquettes, ore, or other resources, which are not limited in this embodiment of the present application.

[0084] like Figure 3 3 is a schematic diagram of a game interface provided by an embodiment of the present application. It shows a first virtual object 301 located in a virtual scene. First virtual object 301 holds a first virtual item 302. The application range of first virtual item 302 is 303. First virtual item 302 eliminates granular coverings within application range 303 of first virtual item 302. Furthermore, virtual resource 304 exists within application range 303 of first virtual item 302, and therefore virtual resource 304 is also displayed.

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

[0086] In a possible implementation, a first control is further displayed in the game interface, and the first control is used to display resource information of a first virtual resource. The first virtual resource is a virtual resource that can be obtained after completing a scene exploration task, such as Figure 3 305 is a first control. In response to a triggering operation on the first control, 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, the resource icon of the first virtual resource, or other information that can uniquely represent the first virtual resource, which is not limited in this embodiment of the present application.

[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 game object's desire to explore and enthusiasm for challenges, and drive the game object to complete the scene exploration task with clear reward expectations, thereby enhancing the fun of the game.

[0088] In a possible implementation, a second control is further displayed in the game interface, and the second control is used to display resource information of a second virtual resource. The second virtual resource is a virtual resource perceived by the first virtual object in the virtual scene, such as Figure 3 306 is a second control. In response to a triggering operation on the second control, 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, the resource icon of the second virtual resource, or other information that can uniquely represent the second virtual resource, which is not limited in this embodiment of the present application.

[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 embodiment of the present application does not limit the source of the second virtual resource.

[0090] In this implementation, by displaying the second control, the game object can view the resource information of the second virtual resource that the first virtual object has perceived by the first virtual object by triggering the second control. This can effectively stimulate the game object's desire to explore and enthusiasm for challenges, and drive the game object to complete the scene exploration task with clear reward expectations, thereby enhancing the fun of the game.

[0091] In one possible implementation, if the first virtual object completes a scene exploration task, a second virtual resource is transferred to the account of the object controlling the first virtual object. In other words, only when the first virtual object completes the scene exploration task can the object controlling the first virtual object obtain the virtual resource perceived by the first virtual object in the virtual scene. This can encourage the game object to control the first virtual object to complete the scene exploration task, making the game more playable and enjoyable, thereby improving user retention.

[0092] Optionally, the process of transferring the second virtual resource to the account of the control object of the first virtual object includes: sending object information of the control object of the first virtual object and resource information of the second virtual resource to the server, and the server transferring 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 may also be transferred to the account of the object controlling the first virtual object. The process of transferring the first virtual resource to the account of the object controlling the first virtual object is similar to the process of transferring the second virtual resource to the account of the object controlling the first virtual object described above, and will not be further described in detail in this embodiment of the present application.

[0094] In a possible implementation, a third control is further displayed in the game interface, and the third control is used to display the prop information of the first virtual prop and the upgrade control corresponding to the first virtual prop, such as Figure 3307 is a third control. In response to a triggering operation of the upgrade control corresponding to the first virtual item, the first virtual item is upgraded, and the application scope of the upgraded first virtual item is greater than the application scope of the first virtual item before the upgrade. The item information of the first virtual item can be the item name of the first virtual item, the item icon of the first virtual item, or other information that uniquely represents the first virtual item, which is not limited in this embodiment of the present application.

[0095] In this implementation, the game object can expand the application scope of the first virtual prop by upgrading the first virtual prop, making the gameplay more diverse, thereby improving the game's interaction rate and improving the game's user retention rate.

[0096] In one possible implementation, the third control is further configured to display the first virtual object's clothing information and an upgrade control corresponding to the clothing information. In response to the upgrade control corresponding to the clothing information, the first virtual object's clothing information is upgraded, and the cold resistance of the upgraded clothing information of the first virtual object is greater than that of the original clothing information. The clothing information of the first virtual object includes, but is not limited to, information about the first virtual object's clothing and shoes. Clothing information includes, but is not limited to, the name and image of the clothing. Shoe information includes, but is not limited to, the name and image of the shoes.

[0097] In a possible implementation, the game interface further displays a third virtual resource located in the virtual scene, and the third virtual resource is used to generate a gain for the first virtual item, such as Figure 3 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, the first virtual object is displayed picking up the third virtual resource. After the first virtual object picks up the third virtual resource, the application range of the first virtual prop held by the first virtual object is greater than the application range of the first virtual prop held by the first virtual object before the first virtual object picks up the third virtual resource.

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

[0099] In this implementation, the game object can expand the application scope of the first virtual prop held by the first virtual object by controlling the first virtual object to pick up the third virtual resource, thereby improving the efficiency of the game object in completing the scene exploration task, making the game more playable, and thereby increasing the fun of game interaction and improving the user retention rate of the game.

[0100] In one possible implementation, when the distance between the first virtual object and the third virtual resource is less than a distance threshold, after the first virtual object is displayed picking up the third virtual resource, a countdown control may also be displayed, where the countdown control is used to indicate the remaining time for the first virtual item held by the first virtual object to have a gain.

[0101] like Figure 4 This is a schematic diagram of a countdown control provided by an embodiment of the present application. Figure 4 The distance between the first virtual object 401 and the third virtual resource 402 shown in (1) is less than the distance threshold, then the first virtual object 401 is shown picking up the third virtual resource 402, and then the first virtual object 401 is shown picking up the third virtual resource 402. Figure 4 (2) in which a countdown control 403 is displayed, and 404 in the countdown control 403 is the remaining time for the first virtual prop held by the first virtual object to have a gain.

[0102] like Figure 5 : is a schematic diagram of another countdown control provided by an embodiment of the present application. Figure 5 In (1), the distance between the first virtual object 501 and the third virtual resource 502 is less than the distance threshold, and the first virtual object 501 is displayed to pick up the third virtual resource 502, and then the first virtual object 501 is displayed to pick up the third virtual resource 502. Figure 5 In (2), a countdown control 503 is displayed, which means that the remaining time for the first virtual item held by the first virtual object to have a gain is 10 seconds.

[0103] In this implementation, by displaying a countdown control, the game object can be aware of the remaining time of the gain of the first virtual prop held by the first virtual object, so that the game object can clearly grasp the status of the first virtual prop, so as to reasonably arrange game strategies 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, and the progress bar is used to indicate the progress of the first virtual object in the scene exploration task. Figure 3 309 is a progress bar, and it can be seen from the progress bar 309 that the first virtual object has made 22% of the progress in the scene exploration task, that is, the first virtual object has completed 22% of the scene exploration task.

[0105] In this implementation, by displaying a progress bar, the game object can intuitively understand the progress of the scene exploration task, thereby better planning game behavior and expected game results.

[0106] In a possible implementation, the game interface further displays an energy bar, the energy bar is used to indicate the remaining energy of the first virtual prop held by the first virtual object, and the first virtual object can perform the scene exploration task by using the first virtual prop when the remaining energy of the first virtual prop held by the first virtual object is not less than an energy threshold. Figure 3 In FIG. 3, 310 is the energy bar, and it can be known from the energy bar 310 that the remaining energy of the first virtual prop held by the first virtual object is 61.

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

[0108] In this implementation, the energy bar is displayed to enable the game object to perceive the remaining energy of the first virtual prop held by the first virtual object, so that the game object knows whether the first virtual object can perform the scene exploration task by using the first virtual prop.

[0109] In a possible implementation, the game interface further displays an increase control, and the increase control is used to indicate an increase in the remaining energy of the first virtual prop held by the first virtual object. Optionally, the increase control is displayed in the energy bar, as shown in FIG. 3. Figure 3 In FIG. 3, 311 is the increase control. In response to a triggering operation on the increase control, the remaining energy of the first virtual prop held by the first virtual object is increased by a first quantity. The first quantity is set based on experience or is flexibly adjusted according to an implementation environment, and embodiments of the present application do not limit this. For example, the first quantity is 10.

[0110] For example, the remaining energy of the first virtual prop held by the first virtual object is 61, and in response to the triggering operation on the increase control, the remaining energy of the first virtual prop held by the first virtual object is increased by 10, and then the remaining energy of the first virtual prop held by the first virtual object becomes 71.

[0111] In this implementation, the increase control is displayed to provide a way for the game object to increase the remaining energy of the first virtual prop held by the first virtual object, so that the first virtual prop can be used for a longer time, thereby prolonging the game time and increasing the game fun.

[0112] In a possible implementation, the game interface further displays a scene temperature of the virtual scene. For example, as shown in FIG. 3. Figure 3 In FIG. 3, 312 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, displaying the scene temperature of the virtual scene in the game interface can enable the game objects to have a higher level of understanding of the virtual scene, enhance the realism and immersion of the game, help the game objects better integrate into the game world, and may also provide a reference for game strategies.

[0114] In a possible implementation, the game interface also displays the resource information of the virtual resources and the number of virtual resources collected by the resource collection props corresponding to the first virtual object. The resource information of the virtual resources includes but is not limited to the icon of the virtual resource, the name of the virtual resource, etc. The resource collection props corresponding to the first virtual object can be the backpack on the back of the first virtual object, or other props equipped by the first virtual object, which is not limited in this embodiment of the present application. Figure 3 313 is the resource information of the virtual resource, and "16" is the number of virtual resources collected by the resource collection prop corresponding to the first virtual object. That is, the resource collection prop corresponding to the first virtual object has collected 16 virtual resources.

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

[0116] In a possible implementation, a distance element is further displayed in the game interface, 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. Figure 3 314 is a distance element, and 10 m (meters) is displayed in the distance element 314, that is, the distance between the first virtual object and the resource-consuming equipment is 10 meters.

[0117] In this implementation, 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, which is used to indicate the direction of the resource consumption equipment relative to the first virtual object, such as Figure 3 315 is an arrow, that is, the resource-consuming device is in the northwest direction of the first virtual object.

[0119] In step 202 , when a first condition is met, the virtual resource is displayed to move from the location of the virtual resource to the resource collection tool corresponding to the first virtual object.

[0120] In a possible implementation, the first condition refers to 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, such as Figure 3 Reference numeral 316 denotes a control. In response to a drag operation on the control, a move operation on the first virtual object is triggered, thereby controlling the master virtual object to move in the virtual scene in a direction corresponding to the move operation. The direction corresponding to the move operation is the direction corresponding to the drag operation on the control.

[0121] Optionally, in response to a leftward drag operation on the control, the first virtual object is controlled to move leftward in the virtual scene. In response to a rightward drag operation on the control, the first virtual object is controlled to move rightward in the virtual scene. In response to a downward drag operation on the control, the first virtual object is controlled to move downward in the virtual scene. In response to an upward drag operation on the control, the first virtual object is controlled to move upward in the virtual scene. In response to a drag operation on the 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 a distance threshold, the virtual resource is displayed to move from the location of the virtual resource to the resource collection prop corresponding to the first virtual object.

[0123] By showing the virtual resource moving from the location of the virtual resource 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, so that the game object can fully feel the resource acquisition, thereby enhancing the immersion of the game.

[0124] In step 203, when the second condition is met, the virtual resources collected by the resource collection prop corresponding to the first virtual object are displayed to upgrade the resource consumption equipment to adjust or maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment.

[0125] Among them, the second condition includes one of the following: 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 quantity threshold is the number of virtual resources required for the resource-consuming equipment to be upgraded from the current level to the next level; 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 in a reference area, and the reference area is determined based on the location of the resource-consuming equipment; 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 scene environment of the virtual scene changes; 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 second virtual object attacks the first virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

[0126] Optionally, the resource-consuming device provides a safety zone. When the first virtual object is located in the safety zone provided by the resource-consuming device, the first virtual object will not be attacked by enemy virtual objects, and when the first virtual object is located in the safety zone provided by the resource-consuming device, the health of the first virtual object will be restored. The reference area is any area in the safety zone provided by the resource-consuming device. The safety zone provided by the resource-consuming device is determined based on the location of the resource-consuming device and the level of the resource-consuming device. Optionally, the safety zone provided by the resource-consuming device is a circle with the location of the resource-consuming device as the center and a second number as the radius. The second number is the number corresponding to the level of the resource-consuming device.

[0127] The higher the level of the resource-consuming equipment, the larger the second number, and the larger the safety zone provided by the resource-consuming equipment. For example, if the level of the resource-consuming equipment is level 1, the second number is 1 meter, and if the level of the resource-consuming equipment is level 2, the second number is 2 meters. Figure 3 317 is the resource consumption equipment, 318 is the safety area provided by the resource consumption 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 conditions of the scene, and may also be the color of the scene, or other information about the scene. For example, the scene environment before the virtual scene changes is sunny, and the scene environment after the virtual scene changes is snowstorm weather.

[0129] In this implementation, a variety of second conditions are provided, diversifying the prerequisites for upgrading resource-consuming equipment, thereby improving the flexibility of upgrading resource-consuming equipment.

[0130] In one possible implementation, after displaying that the virtual resource has moved from its location to the resource collection item corresponding to the first virtual object, the amount of virtual resources collected by the resource collection item corresponding to the first virtual object is adjusted, and the adjusted amount of virtual resources collected by the resource collection item corresponding to the first virtual object is displayed. Optionally, the amount of virtual resources collected by the resource collection item corresponding to the first virtual object is increased by 1 to obtain the adjusted amount of virtual resources collected by the resource collection item corresponding to the first virtual object.

[0131] For example, the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is 16. After the virtual resource is displayed to move from the location of the virtual resource 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 adjusted number of virtual resources collected by the resource collection prop corresponding to the first virtual object (17), and then the adjusted number of virtual resources collected by the resource collection prop corresponding to the first virtual object (17) is displayed.

[0132] In one possible implementation, after a virtual resource is displayed as moving from its location to a resource collection item corresponding to a first virtual object, if the amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, a prompt control is displayed, indicating that resource-consuming equipment can be upgraded. The quantity threshold is the amount of virtual resources required to upgrade the resource-consuming equipment from its current level to the next level. The resource-consuming equipment upgrade can be an equipment level upgrade or an operating level upgrade of the resource-consuming equipment, which is not limited in this embodiment of the present application.

[0133] For example, the number of virtual resources required to upgrade resource-consuming equipment from the current level to the next level is 17, and the number of virtual resources collected by the resource collection item corresponding to the first virtual object is 17. Since the number of virtual resources collected by the resource collection item corresponding to the first virtual object is the same as the number of virtual resources required to upgrade resource-consuming equipment from the current level to the next level, a prompt control is displayed.

[0134] like Figure 6 6 is a schematic diagram of a prompt control provided in an embodiment of the present application. The resource collection item corresponding to the first virtual object 601 has collected 17 virtual resources, which is the same as the number of virtual resources required to upgrade the resource-consuming equipment from the current level to the next level. Therefore, the prompt control 602 is displayed.

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

[0136] In a possible implementation, after the prompt control is displayed, in response to a triggering operation on the prompt control, an indication element is displayed, where 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 of the first virtual object, and the arrow points to the resource-consuming equipment.

[0138] like Figure 7 This is a schematic diagram of an indicator element provided in an embodiment of the present application, in which an indicator element 701 is displayed.

[0139] In this implementation, by displaying an indicator element, the game object knows in which direction the resource-consuming equipment is located relative to the first virtual object, thereby helping the game object control the first virtual object to move toward the resource-consuming equipment.

[0140] In one possible implementation, if the second condition is met, the virtual resources collected by the resource-collecting item corresponding to the first virtual object are displayed to upgrade resource-consuming equipment, thereby adjusting or maintaining environmental parameters suitable for the survival of the first virtual object within the target area affected by the resource-consuming equipment. Alternatively, if the second condition is met, the virtual resources collected by the resource-collecting item corresponding to the first virtual object are displayed to be moved to the resource-consuming equipment to upgrade the resource-consuming equipment, thereby adjusting or maintaining environmental parameters suitable for the survival of the first virtual object within the target area affected by the resource-consuming equipment based on the upgraded level of the resource-consuming equipment.

[0141] The target area affected by the resource-consuming equipment may be a safe area provided by the resource-consuming equipment or a virtual scene, which is not limited in the embodiments of the present application. The environmental parameters for the first virtual object to survive in 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 survival of the first virtual object in the target area affected by the resource consumption equipment may further include the scene temperature of the virtual scene and the life value recovery speed of the first virtual object when the first virtual object is located in the safe area provided by the resource consumption equipment.

[0143] In one possible implementation, when the second condition is met, the virtual resources collected by the resource collection item corresponding to the first virtual object are displayed to upgrade the resource consumption equipment to adjust the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are better than the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded.

[0144] For example, after a resource-consuming device is upgraded, the size of the safe zone provided by the resource-consuming device is larger than the size of the safe zone provided by the resource-consuming device before the upgrade. For another example, after the resource-consuming device is upgraded, the scene temperature of the virtual scene is higher than the scene temperature of the virtual scene before the upgrade. For another example, after the resource-consuming device is upgraded, when a first virtual object is within the safe zone provided by the resource-consuming device, the health value recovery rate of the first virtual object is greater than the health value recovery rate of the first virtual object when the first virtual object is within the safe zone provided by the resource-consuming device before the upgrade.

[0145] In this implementation, when upgrading resource-consuming equipment, the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment are adjusted so that the adjusted environmental parameters are better than the environmental parameters before the adjustment, so that the adjusted environmental parameters are more suitable for the survival of the first virtual object, so that the survival efficiency of the first virtual object is higher.

[0146] In one possible implementation, after resource-consuming equipment is upgraded, the upgraded level of the resource-consuming equipment is determined based on the amount of virtual resources collected by the resource-collecting item corresponding to the first virtual object. After the resource-consuming equipment is upgraded, environmental parameters for the first virtual object's survival within the target area affected by the resource-consuming equipment are determined based on the upgraded level of the resource-consuming equipment.

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

[0148] For example, the number of 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, so the level of the resource consumption equipment after upgrading is level 3.

[0149] Alternatively, the process of determining the upgraded level of the resource-consuming equipment based on the number of virtual resources collected by the resource collection item corresponding to the first virtual object includes: determining the sum of the level corresponding to the number 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 the sum as the upgraded level of the resource-consuming equipment.

[0150] For example, the number 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, the current level of the resource consumption equipment is level 2, and the upgraded level of the resource consumption equipment 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 adjust the environmental parameters according to the environmental parameters determined according to the level after the resource-consuming equipment is upgraded. The embodiment of the present application does 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, and the fourth area is the safe area provided by the resource-consuming equipment 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 scene temperature of the virtual scene, determining a target temperature according to the level after the resource-consuming equipment is upgraded, and the target temperature is the scene temperature of the virtual scene 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 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. The target recovery speed is determined according to the level of the resource-consuming equipment after the upgrade. 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] The process of determining the fourth area based on the upgraded level of the resource-consuming equipment includes: determining a second length corresponding to the upgraded level of the resource-consuming equipment; and determining the fourth area based on the location of the resource-consuming equipment and the second length. For example, the fourth area is determined to be an area encompassed by a circle centered at the location of the resource-consuming equipment and having a radius of the second length.

[0153] In one possible implementation, determining the target temperature based on the upgraded level of the resource-consuming equipment includes determining the temperature corresponding to the upgraded level of the resource-consuming equipment as the target temperature. For example, if the upgraded level of the resource-consuming equipment 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 based on the temperature corresponding to the upgraded level of the resource-consuming equipment and the scene temperature of the virtual scene. Optionally, the target temperature is determined as the sum of the temperature corresponding to the upgraded level of the resource-consuming equipment and the scene temperature of the virtual scene.

[0155] For example, the resource consumption equipment is upgraded to 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 methods for determining the target temperature are provided, so that the determination of the target temperature is more flexible and the determination methods are diversified.

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

[0158] For example, if the resource-consuming equipment is upgraded to level 2 and the corresponding recovery speed is 10 points / second, then the target recovery speed is 10 points / second. That is, when the first virtual object is in the safe zone provided by the resource-consuming equipment, the first virtual object's health will recover 10 points per second.

[0159] In this implementation, the upgraded level of the resource-consuming equipment is determined based on the amount of virtual resources collected by the resource-collecting item corresponding to the first virtual object. This makes the process of determining the upgraded level of the resource-consuming equipment more rational and the accuracy of the determined upgraded level higher. Furthermore, after the resource-consuming equipment is upgraded, the environmental parameters for the survival of the first virtual object within the target area affected by the resource-consuming equipment are determined based on the upgraded level of the resource-consuming equipment. This increases the accuracy of the determined environmental parameters for the survival of the first virtual object within the target area affected by the resource-consuming equipment.

[0160] In a possible implementation, after the target temperature is determined, the scene temperature of the virtual scene may be updated and displayed as the target temperature.

[0161] In this implementation, by displaying the target temperature, the game object knows that the resource-consuming equipment has been upgraded, and the game object knows 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 one possible implementation, after the fourth area is determined, the fourth area may be displayed in a second form to allow the game object to perceive changes in the safety zone provided by the resource-consuming equipment. For example, the fourth area may be displayed as a glowing area to indicate that the fourth area is a safety zone provided by the resource-consuming equipment.

[0163] In one 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 consumption equipment to maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are the same as the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment was 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, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment do not change after the resource consumption equipment is upgraded.

[0164] For example, after a resource-consuming device is upgraded, the size of the safety zone provided by the resource-consuming device is the same as the size of the safety zone provided by the resource-consuming device before the upgrade. For another example, after a resource-consuming device is upgraded, the scene temperature of the virtual scene is the same as the scene temperature of the virtual scene before the upgrade. For another example, after a resource-consuming device is upgraded, when a first virtual object is within the safety zone provided by the resource-consuming device, the health recovery rate of the first virtual object is the same as the health recovery rate of the first virtual object when the first virtual object is within the safety zone provided by the resource-consuming device before the upgrade.

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

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

[0167] like Figure 8 This is a schematic diagram of a resource collection prop corresponding to a first virtual object provided in an embodiment of the present application, which has collected virtual resources to upgrade resource consumption equipment. Figure 8 In (1), the first virtual object 801 is located in the reference area 802, and the amount of virtual resources collected by the resource collection prop corresponding to the first virtual object 801 is not less than the amount threshold, and then the display Figure 8 (2) in which the virtual resources collected by the resource collection tool corresponding to the first virtual object 801 are shown to be moved to the resource consumption equipment 803. After the virtual resources collected by the resource collection tool corresponding to the first virtual object 801 are moved to the resource consumption equipment 803, the virtual resources collected by the resource collection tool corresponding to the first virtual object 801 are shown to be moved to the resource consumption equipment 803. Figure 8 (3) in which the size of the safety area provided by the resource consumption device 803 changes (the safety area provided by the resource consumption device 803 becomes larger), the appearance of the resource consumption device 803 changes (the appearance of the resource consumption device 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, the upgraded resource-consuming equipment is displayed so that the game object can perceive that the resource-consuming equipment has been upgraded, thereby visualizing the upgrade process of the resource-consuming equipment.

[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 embodiment of the present application does not limit this. For example, the display in the first form can be displayed in a shadow form. Figure 8 In (1), 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 props corresponding to the first virtual object are moved to the resource consumption equipment, the prompt control is canceled because the resource collection props corresponding to the first virtual object no longer have virtual resources. Figure 8 The resource collection item corresponding to the first virtual object 801 in (3) no longer has virtual resources, and no prompt control is displayed.

[0171] In one 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 as a target form. 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 of the first virtual object.

[0172] Optionally, based on the location of the first virtual object and the upgraded level of the resource-consuming equipment, the process of determining the first area includes: determining a third quantity corresponding to the upgraded level of the resource-consuming equipment, and determining that the area covered by a circle with the location of the first virtual object as the center and the third quantity as the radius is the first area.

[0173] The target form can be any form, which is not limited in the embodiments of the present application. Optionally, the target form can be a shadow form, the target form can be displayed in black, or the target form can be a luminous form.

[0174] After the first area is displayed as a target, the game object knows that when the first virtual object is in the first area displayed as a target, the first virtual object will not be attacked by the enemy virtual object. This can maintain the health of the first virtual object and thus extend the survival rate of the first virtual object.

[0175] In one possible implementation, after displaying the virtual resources collected by the resource-collecting item corresponding to the first virtual object to upgrade resource-consuming equipment, the application range of the first virtual item can be adjusted, with the adjusted application range being larger than the original application range. This allows the first virtual object to perform a scene exploration task using the first virtual item with a larger application range, thereby accelerating the completion of the scene exploration task by the first virtual object.

[0176] Optionally, the adjusted application scope of the first virtual item is determined based on the upgraded level of the resource-consuming equipment.

[0177] In one possible implementation, after upgrading resource-consuming equipment, a second virtual item may be transferred to the control object of the first virtual object. The second virtual item is used when the first virtual object is equipped with the second virtual item. The temperature of the second area is a reference temperature. 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.

[0178] Optionally, the reference temperature is a temperature corresponding to the second virtual prop, for example, the reference temperature is 59 degrees Fahrenheit.

[0179] The second area is an area determined by the location of the first virtual object. Optionally, the second virtual area is an area covered by a circle with the location of the first virtual object as its center. The embodiment of the present application does not limit the method for determining the second area.

[0180] In this implementation, a second virtual prop is transferred to the control object of the first virtual object so that when the first virtual object is equipped with the second virtual prop, 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 at a more comfortable temperature, thereby helping the first virtual object to better perform the scene exploration task.

[0181] In one possible implementation, after upgrading the resource-consuming equipment, a third area is determined based on the position of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, and the third area is larger than the safe area provided by the upgraded resource-consuming equipment; the virtual resources existing in the third area are displayed and moved from the position of the virtual resources to the resource collection props corresponding to the first virtual object.

[0182] The embodiment of the present application does not limit the method for determining the third area. For example, the area covered by a circle with the location of the resource-consuming equipment as the center and the value corresponding to the adjusted level of the resource-consuming equipment as the radius is determined as the third area.

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

[0184] The above method allows the game object to control the movement of the first virtual object in the virtual scene. When the first condition is met, the virtual resource is displayed moving from the location of the virtual resource 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 resources collected by the first virtual object are used to upgrade the resource-consuming equipment to adjust or maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment. This method allows the game object to not only collect virtual resources in the virtual scene, but also consume virtual resources to upgrade resource-consuming equipment, making the interaction mode of the virtual object more diversified and more flexible, improving the interaction rate of the virtual object, and thus enriching the gameplay of the game, making the game more playable, and increasing the interactive fun of the game, thereby enhancing the player's sense of participation and accomplishment in the game, thereby improving the game's interactivity and user retention rate.

[0185] In an embodiment provided in the present application, a first virtual object in a virtual scene is displayed, the virtual scene is covered by granular coverings, the first virtual object holds a first virtual prop, and the first virtual prop is used to clear the granular coverings within an application range of the first virtual prop; in a case where the first virtual object clears the granular coverings within the application range of the first virtual prop by the first virtual prop, and there is a 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, in a case where the distance between the first virtual object and the virtual resource is less than a distance threshold, the virtual resource is displayed to move from a location where the virtual resource is located to a resource collection prop (a backpack of the first virtual object) corresponding to the first virtual object. In a case where the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than a number threshold, and the first virtual object is located in a reference area, the virtual resources collected by the resource collection prop corresponding to the first virtual object are displayed to move to a resource consumption equipment (a furnace) to upgrade the resource consumption equipment. After the resource consumption equipment is upgraded, the size of a safe area provided by the resource consumption equipment is adjusted, and the scene temperature of the virtual scene is adjusted.

[0186] The number threshold is the number of virtual resources required for the resource consumption equipment to be upgraded from a current level to a next level. The reference area is any one of the safe areas provided by the resource consumption equipment. After the resource consumption equipment is upgraded, the safe area provided by the resource consumption equipment is larger than the safe area provided by the resource consumption equipment before the resource consumption equipment is upgraded. After the resource consumption equipment is upgraded, the scene temperature of the virtual scene is higher than the scene temperature of the virtual scene before the resource consumption equipment is upgraded.

[0187] In a case where the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than the number threshold, the first virtual object is located in the reference area, and the virtual scene changes from a first scene environment to a second scene environment, the virtual resources collected by the resource collection prop corresponding to the first virtual object are displayed to move to the resource consumption equipment (the furnace) to upgrade the resource consumption equipment. After the resource consumption equipment is upgraded, the size of the safe 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 snowstorm weather, and the first scene environment is a sunny day.

[0188] That is, after the resource consumption equipment is upgraded, the size of the safe area provided by the resource consumption equipment is the same as the size of the safe area provided by the resource consumption equipment before the resource consumption equipment is upgraded. After the resource consumption equipment is upgraded, the scene temperature of the virtual scene is the same as the scene temperature of the virtual scene before the resource consumption equipment is upgraded.

[0189] Figure 9FIG. 1 is a schematic diagram of a structure of a virtual object interaction device provided by an embodiment of the present application. Figure 9 As shown, the device includes:

[0190] Display module 901, used to display the first virtual object and virtual resources in the virtual scene;

[0191] The display module 901 is further configured to display the movement of the virtual resource from the location of the virtual resource to the resource collection item corresponding to the first virtual object when the first condition is met;

[0192] The display module 901 is also used to display the virtual resources collected by the resource collection props corresponding to the first virtual object to upgrade the resource consumption equipment when the second condition is met, so as to adjust or maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment.

[0193] In one possible implementation, the display module 901 is configured to, when the second condition is met, 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 survival of the first virtual object in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are better than the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded; or

[0194] 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 props corresponding to the first virtual object are displayed to upgrade the resource consumption equipment to maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are the same as the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded. The second scene environment is worse than the first scene environment.

[0195] In one possible implementation, the level of the resource-consuming equipment after upgrading is determined based on the amount of 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 of the resource-consuming equipment after upgrading.

[0196] In a possible implementation, the environmental parameter for the first virtual object to survive in the target area affected by the resource-consuming equipment includes a 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 a 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 one possible implementation, a first virtual object performs a scene exploration task in a virtual scene, 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 eliminate the granular covering within an application range of the virtual prop;

[0211] The device also includes:

[0212] The adjustment module is configured to adjust the application range of the first virtual prop, wherein the application range of the first virtual prop after the adjustment is greater than the application range of the first virtual prop before the adjustment.

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

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

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

[0216] a determination module for determining a third area based on the location of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, the third area being larger than the safe area provided by the upgraded resource-consuming equipment;

[0217] The display module 901 is further configured to display the virtual resource in the third area moving from the location of the virtual resource to the resource collection tool corresponding to the first virtual object.

[0218] The game object of the above-mentioned device can control the movement of the first virtual object in the virtual scene. When the first condition is met, the virtual resource is displayed to move from the location of the virtual resource 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 resources collected by the first virtual object are used to upgrade the resource-consuming equipment to adjust or maintain the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment. The game object can not only collect virtual resources in the virtual scene, but also consume virtual resources to upgrade the resource-consuming equipment, making the interaction mode of the virtual object more diversified and more flexible, improving the interaction rate of the virtual object, and thus enriching the gameplay of the game, making the game more playable, increasing the interactive fun of the game, and thus enhancing the player's sense of participation and accomplishment in the game, thereby improving the game's interactivity and user retention rate.

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

[0220] Figure 10 The following is a block diagram of a terminal device 1000 provided in accordance with an exemplary embodiment of the present application. The terminal device 1000 may be any electronic device capable of human-computer interaction with a user through one or more methods, such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include a PC (Personal Computer), mobile phone, smartphone, PDA (Personal Digital Assistant), wearable device, Pocket PC (PPC), tablet computer, smart car computer, smart TV, smart speaker, smart watch, and the like.

[0221] Typically, 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 4-core processor, an 8-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 awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

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

[0224] In some embodiments, terminal device 1000 may optionally include a peripheral device interface 1003 and at least one peripheral device. Processor 1001, memory 1002, and peripheral device interface 1003 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1003 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include 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 separate chips or circuit boards, which is not limited in this embodiment.

[0226] The RF circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF 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 user identity module card, and the like. The RF circuit 1004 can communicate with other terminal devices via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1004 may also include circuitry related to Near Field Communication (NFC), although this application does not limit this.

[0227] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch screen display, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input as a control signal to the processor 1001 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 can be one display screen 1005, which is set on the front panel of the terminal device 1000; in other embodiments, there can be at least two display screens 1005, which are respectively set on different surfaces of the terminal device 1000 or in a folding design; in other embodiments, the display screen 1005 can be a flexible display screen, which is set on the curved surface or folding surface of the terminal device 1000. Even more, the display screen 1005 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0228] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1000, and the rear camera is arranged 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 of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0229] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 1001 for processing, or input into the RF circuit 1004 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, each located in 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 electrical signals from the processor 1001 or the RF 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 sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.

[0230] Power supply 1008 is used to power various components in terminal device 1000. Power supply 1008 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1008 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via 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 accelerometer 1010 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal device 1000. For example, the accelerometer 1010 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 1001 can control the display screen 1005 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 1010. The accelerometer 1010 can also be used to collect game or user 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 user's 3D movements of the terminal device 1000. Based on the data collected by the gyroscope sensor 1011, the processor 1001 can implement the following functions: motion sensing (such as changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0234] The pressure sensor 1012 can be set 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 set on the side frame of the terminal device 1000, it can detect the user's grip signal of the terminal device 1000, and the processor 1001 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 1012. When the pressure sensor 1012 is set on the lower layer of the display screen 1005, the processor 1001 controls the operable controls on the UI interface based on the user's pressure operation 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] Optical sensor 1013 is used to detect ambient light intensity. In one embodiment, processor 1001 can control the display brightness of display screen 1005 based on the ambient light intensity detected by optical sensor 1013. Specifically, when the ambient light intensity is high, the display brightness of display screen 1005 is increased; when the ambient light intensity is low, the display brightness of display screen 1005 is decreased. In another embodiment, processor 1001 can also dynamically adjust the shooting parameters of camera assembly 1006 based on the ambient light intensity detected by optical sensor 1013.

[0236] The proximity sensor 1014, also known as a distance sensor, is typically disposed on the front panel of the terminal device 1000. The proximity sensor 1014 is used to detect 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 screen-on state to the screen-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 screen-off state to the screen-on state.

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

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

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

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

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

[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 used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.

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

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

Claims

1. A virtual object interaction method, characterized in that: The method comprises: displaying a first virtual object and a virtual resource located in a virtual scene; When a first condition is met, displaying the virtual resource moving from the location of the virtual resource to the resource collection item corresponding to the first virtual object, wherein the first condition is that the distance between the first virtual object and the virtual resource is less than a distance threshold; When the second condition is met, the virtual resources collected by the resource collection prop corresponding to the first virtual object are displayed to upgrade the resource consumption equipment to adjust the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment, and after the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are better than the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded; or When the second condition is satisfied and the virtual scene changes from the first scene environment to the second scene environment, displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource consumption equipment to maintain environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment, wherein after the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are the same as the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded, and the second scene environment is worse than the first scene environment; The second condition includes one of the following: 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 a current level to a next level; The amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the amount 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; The amount 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 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.

2. The method according to claim 1, characterized in that The level of the resource consumption equipment after upgrading is determined based on the amount of virtual resources collected by the resource collection item corresponding to the first virtual object. After the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are determined based on the level of the resource consumption equipment after upgrading.

3. The method according to claim 1 or 2, characterized in that The environmental parameter for the first virtual object to survive in the target area affected by the resource-consuming equipment includes a scene temperature of the virtual scene; the method further includes: Displaying the scene temperature of the virtual scene; After displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource-consuming equipment, the method further includes: determining a target temperature, where the target temperature is a scene temperature of the virtual scene after the resource-consuming equipment is upgraded, and the target temperature is determined based on a level of the resource-consuming equipment after the upgrade; The scene temperature of the virtual scene is updated and displayed as the target temperature.

4. The method according to claim 1 or 2, characterized in that After displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource-consuming equipment, the method further includes: A first area is displayed as a target form, where the first area is determined based on the location of the first virtual object and the upgraded level 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 a second virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

5. The method according to claim 1 or 2, characterized in that After displaying that the virtual resource moves from the location where the virtual resource is located to the resource collection item corresponding to the first virtual object, the method further includes: When the amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, a prompt control is displayed, and the prompt control indicates that the resource-consuming equipment can be upgraded. The quantity threshold is the amount of virtual resources required to upgrade the resource-consuming equipment from the current level to the next level.

6. The method according to claim 5, characterized in that After displaying the prompt control, the method further includes: In response to a triggering operation on the prompt control, an indication element is displayed, wherein the indication element indicates a direction of the resource-consuming equipment relative to the first virtual object.

7. The method according to claim 1 or 2, characterized in that After displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource-consuming equipment, the method further includes: The upgraded resource-consuming equipment is displayed, and the appearance of the upgraded resource-consuming equipment is different from the appearance of the resource-consuming equipment before the upgrade.

8. The method according to claim 1 or 2, characterized in that The first virtual object performs a scene exploration task in the virtual scene, 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 eliminate the granular covering within the application range of the virtual prop; After displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource-consuming equipment, the method further includes: The application range of the first virtual prop is adjusted, wherein the application range of the first virtual prop after the adjustment is larger than the application range of the first virtual prop before the adjustment.

9. The method according to claim 1 or 2, characterized in that After displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource-consuming equipment, the method further includes: A second virtual prop is transferred to a control object of the first virtual object, wherein the second virtual prop is used for, when the first virtual object is equipped with the second virtual prop, a temperature of a second area is a reference temperature, the second area is determined based on a position of the first virtual object, and the reference temperature is determined based on the second virtual prop.

10. The method according to claim 1 or 2, characterized in that After displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource-consuming equipment, the method further includes: determining a third area based on the location of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, wherein the third area is larger than the safe area provided by the upgraded resource-consuming equipment; The virtual resource existing in the third area is displayed to move from the position of the virtual resource to the resource collection prop corresponding to the first virtual object.

11. A virtual object interaction device, characterized in that: The device comprises: A display module, configured to display a first virtual object and virtual resources in a virtual scene; The display module is further configured to display, when a first condition is satisfied, that the virtual resource moves from the location of the virtual resource to the resource collection item corresponding to the first virtual object, wherein the first condition is that the distance between the first virtual object and the virtual resource is less than a distance threshold; The display module is further configured to, when a second condition is met, display the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade resource consumption equipment, so as to adjust the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment, wherein after the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are better than the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded; or When the second condition is satisfied and the virtual scene changes from the first scene environment to the second scene environment, displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource consumption equipment to maintain environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment, wherein after the resource consumption equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment are the same as the environmental parameters for the survival of the first virtual object in the target area affected by the resource consumption equipment before the resource consumption equipment is upgraded, and the second scene environment is worse than the first scene environment; The second condition includes one of the following: 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 a current level to a next level; The amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the amount 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; The amount 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 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.

12. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so that the computer device implements the virtual object interaction method according to any one of claims 1 to 10.

13. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to enable a computer to implement the virtual object interaction method according to any one of claims 1 to 10.

14. A computer program product, characterized in that The computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement the virtual object interaction method according to any one of claims 1 to 10.

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