Method and apparatus for interacting with virtual object, computer device and storage medium
By setting up contaminated areas in a virtual scene and displaying the contamination impact value based on distance, and transforming target objects to purify the area, the problem of unstable virtual match time in open-world games is solved, improving human-computer interaction efficiency and the diversity of interaction methods.
Patent Information
- Application Number
- CN202210877788.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-25
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2042-07-25
AI Technical Summary
In open-world games, virtual match times that are too short or too long result in inefficient human-computer interaction and a lack of diverse interaction methods.
Multiple contaminated areas are set up in a virtual scene. The influence value of each area is displayed based on the distance between the virtual object and the target pollution source. Within the distance threshold, the target pollution source is converted into the target object. By defeating the target object, the contaminated area is converted into a clean area, thereby reducing the impact of pollution.
It enriches the content of virtual matches, increases the ways in which virtual objects interact with each other, improves the efficiency of human-computer interaction, and ensures that the match time is reasonable and challenging.
Smart Images

Figure CN117482508B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to an interaction method, apparatus, computer device, and storage medium for virtual objects. Background Technology
[0002] With the development of computer technology, the variety of games playable on mobile devices has increased dramatically. One popular type is the open-world game. Players control virtual objects to freely explore the virtual world and achieve game objectives. However, due to the high degree of freedom in this virtual world, virtual objects may quickly find and complete objectives, resulting in short matches, or they may wander aimlessly for extended periods, leading to excessively long matches. Therefore, the limited gameplay of these games often results in virtual matches ending either too early or too late, leading to inefficient human-computer interaction. Summary of the Invention
[0003] This application provides a method, apparatus, computer device, and storage medium for interacting with virtual objects, enriching the content of virtual games, increasing the interaction methods between virtual objects and objects in virtual games, and improving human-computer interaction efficiency. The technical solution is as follows:
[0004] On the one hand, a method for interacting with virtual objects is provided, the method comprising:
[0005] Display a virtual scene, which includes multiple polluted areas, each of which includes a pollution source;
[0006] As the virtual object moves within the target contaminated area of the multiple contaminated areas, based on the distance between the virtual object and the target pollution source in the target contaminated area, the regional impact value of the virtual object's location is displayed. The regional impact value is used to indicate the degree of contamination of the virtual object's location by the target pollution source.
[0007] If the distance between the virtual object and the target pollution source is not greater than a distance threshold, the target object is displayed, and the target object is converted from the target pollution source.
[0008] If the virtual object defeats the target object, the target contaminated area is displayed as the target cleaned area, which is used to reduce the regional impact value of the currently existing pollution source on the target cleaned area.
[0009] On the other hand, an interactive device for virtual objects is provided, the device comprising:
[0010] A display module is used to display a virtual scene, the virtual scene including multiple polluted areas, and the polluted areas including pollution sources;
[0011] The display module is further configured to, during the movement of the virtual object within the target pollution area of the multiple pollution areas, display the regional impact value of the location of the virtual object based on the distance between the virtual object and the target pollution source in the target pollution area, wherein the regional impact value is used to indicate the degree of pollution of the location of the virtual object by the target pollution source;
[0012] The display module is further configured to display the target object when the distance between the virtual object and the target pollution source is not greater than a distance threshold, wherein the target object is obtained by converting the target pollution source;
[0013] The area display module is used to display the target contaminated area as a target cleaned area when the virtual object defeats the target object. The target cleaned area is used to reduce the area impact value caused by the currently existing pollution source within the target cleaned area.
[0014] In some embodiments, the display module is configured to acquire an impact value curve of the target polluted area, the impact value curve indicating the regional impact value corresponding to different distances; determine the regional impact value of the location of the virtual object based on the impact value curve and the distance between the virtual object and the target pollution source in the target polluted area; and display the regional impact value on the virtual scene.
[0015] In some embodiments, the target contaminated area overlaps with the non-target contaminated area among the plurality of contaminated areas;
[0016] The device further includes:
[0017] A determination module is configured to determine a first region influence value and at least one second region influence value when the virtual object enters the overlapping region during the movement of the virtual object within a target contaminated area in the plurality of contaminated areas, wherein the first region influence value is determined based on the target contaminated area and the at least one second region influence value is determined based on at least one non-target contaminated area.
[0018] The display module is further configured to display the sum of the first regional influence value and the at least one second regional influence value as the regional influence value of the location of the virtual object.
[0019] In some embodiments, the virtual scene displays a game impact value indicating the location of the virtual object, and the game impact value changes as the virtual game progresses;
[0020] The device further includes:
[0021] The summation module is used to sum the game impact value and the area impact value to obtain the sum of impact values;
[0022] The display module is also used to display the influence and value on the virtual scene.
[0023] In some embodiments, the display module is configured to obtain the game impact value of the location of the virtual object, the game impact value changing with the duration of participation in the virtual game; determine the first rendering parameters of the virtual scene based on the game impact value; and display the virtual scene based on the first rendering parameters.
[0024] In some embodiments, the display module is configured to obtain the game impact value of the location of the virtual object and at least one regional impact value, the game impact value changing with the progress of the virtual game; determine a second rendering parameter of the virtual scene based on the sum of the game impact value and the at least one regional impact value; and display the virtual scene based on the second rendering parameter.
[0025] In some embodiments, the display module is further configured to display the target pollution source as the target object when the distance between the virtual object and the target pollution source is equal to a distance threshold during the movement of the virtual object within the target pollution area.
[0026] In some embodiments, the apparatus further includes:
[0027] The first control module is used to control the interaction between the virtual object and the target object;
[0028] The area display module is also used to remove the target object from the virtual scene when the virtual life value of the target object reaches the defeat threshold.
[0029] In some embodiments, the apparatus further includes:
[0030] The second control module is used to control the virtual object to move away from the target object;
[0031] The display module is further configured to display that the target object is chasing the virtual object when the distance between the virtual object and the target object is less than the distance threshold.
[0032] In some embodiments, the apparatus further includes:
[0033] The third control module is used to control the virtual object to move away from the target object;
[0034] The display module is further configured to display that the target object is converted into the target pollution source when the distance between the virtual object and the target object is greater than or equal to the distance threshold.
[0035] In some embodiments, the display module is configured to display a first prompt message in response to a regional evolution command. The first prompt message is used to indicate that the regional impact value within the polluted area increases with the change in the distance from the pollution source within the area, and the attribute value of the object corresponding to the pollution source within the polluted area is improved.
[0036] In some embodiments, the display module is further configured to display the target contaminated area as the target purified area when the location of the target object is not within any purified area, wherein the target purified area displays a purified area effect and the target purified area is centered on the location of the target object.
[0037] In some embodiments, the display module is further configured to display purification area effects within the purification area when the target object is located within the purification area;
[0038] In some embodiments, the location of the target contaminated area changes as the target object moves;
[0039] The device further includes:
[0040] The cancellation module is used to cancel the display of the cleaned area when the target contaminated area covers the center of any of the cleaned areas.
[0041] In some embodiments, the apparatus further includes:
[0042] An adjustment module is used to adjust the regional influence value of the virtual object's location based on the at least two purification zones when the virtual object enters the overlapping portion of at least two purification zones.
[0043] In some embodiments, the virtual scene further includes a game target object, which is the task target of the virtual game;
[0044] The area display module is also used to remove all remaining objects from the virtual scene when the virtual object defeats the target object in the game;
[0045] The display module is also used to display a game end effect centered on the position of the game target object;
[0046] The device further includes:
[0047] The termination module is used to end the virtual game.
[0048] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory being used to store at least one computer program, the at least one computer program being loaded and executed by the processor to implement the virtual object interaction method in the embodiments of this application.
[0049] On the other hand, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, the at least one computer program being loaded and executed by a processor to implement the interaction method of the virtual object as described in the embodiments of this application.
[0050] On the other hand, a computer program product is provided, including a computer program that, when executed by a processor, implements the interaction method of the virtual object provided in the embodiments of this application.
[0051] This application provides an interaction scheme for virtual objects. By setting multiple contaminated areas in a virtual scene and displaying the regional impact value of the virtual object's location based on the distance between the virtual object and the target contaminant, the scheme reflects the degree of contamination of the virtual object's location by the target contaminant. Since different locations are contaminated to different degrees by the target contaminant, the virtual object can be guided to quickly find the target contaminant. As the distance between the virtual object and the target contaminant continuously decreases, when the distance between the virtual object and the target contaminant is no greater than a distance threshold, the target contaminant is transformed into a target object, allowing the virtual object to interact with the target object. By defeating the target object, the target contaminated area is displayed as a target purified area, which reduces the regional impact value of the currently existing contaminant on the target purified area, thereby reducing the degree of contamination of the virtual object's location. This enriches the content of the virtual game, increases the interaction methods between virtual objects and objects in the virtual game, and improves the efficiency of human-computer interaction. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0053] Figure 1 This is a schematic diagram illustrating the implementation environment of a virtual object interaction method provided in an embodiment of this application;
[0054] Figure 2 This is a flowchart of a virtual object interaction method provided according to an embodiment of this application;
[0055] Figure 3 This is a flowchart of another virtual object interaction method provided according to an embodiment of this application;
[0056] Figure 4 This is a schematic diagram of a preset area provided according to an embodiment of this application;
[0057] Figure 5 This is a schematic diagram of a regional influence value provided according to an embodiment of this application;
[0058] Figure 6 This is a schematic diagram illustrating the conversion between a target pollution source and a target object according to an embodiment of this application;
[0059] Figure 7 This is a flowchart illustrating the conversion between a target pollution source and a target object, according to an embodiment of this application.
[0060] Figure 8 This is a schematic diagram of a first prompt message provided according to an embodiment of this application;
[0061] Figure 9 This is a schematic diagram illustrating the removal of a target object according to an embodiment of this application;
[0062] Figure 10 This is a flowchart illustrating a target purification area according to an embodiment of this application;
[0063] Figure 11 This is a schematic diagram of the structure of a virtual object interaction device provided according to an embodiment of this application;
[0064] Figure 12 This is a schematic diagram of the structure of another virtual object interaction device provided according to an embodiment of this application;
[0065] Figure 13 This is a structural block diagram of a terminal provided according to an embodiment of this application. Detailed Implementation
[0066] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0067] In this application, the terms "first," "second," etc., are used to distinguish identical or similar items with essentially the same function. It should be understood that there is no logical or temporal dependency between "first," "second," and "nth," nor are there any restrictions on quantity or execution order.
[0068] In this application, the term "at least one" means one or more, and "multiple" means two or more.
[0069] It should be noted that all 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 have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the regional influence values of virtual objects involved in this application were obtained with full authorization.
[0070] For ease of understanding, the terms used in this application are explained below.
[0071] Virtual scene: This refers to a virtual scene displayed (or provided) by an application when it runs on a terminal. This virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional virtual scene, or a purely fictional virtual scene. Virtual scenes can be two-dimensional, 2.5-dimensional, or three-dimensional. For example, a virtual scene may include the sky, land, and ocean; the land may include environmental elements such as deserts and cities. Users can control virtual objects to move within this virtual scene.
[0072] Virtual objects refer to movable objects in a virtual world. These movable objects can be at least one of virtual characters, virtual animals, or anime characters. In some embodiments, when the virtual world is a three-dimensional virtual world, the virtual object is a three-dimensional model, with each virtual object having its own shape and volume, occupying a portion of the space in the three-dimensional virtual world. In some embodiments, the virtual object is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual object achieves different external appearances by wearing different skins. In some embodiments, virtual objects can be implemented using 2.5D or 2D models; this application does not limit this.
[0073] Shooting games: This includes all games that use firearms for ranged attacks, such as first-person shooters and third-person shooters, but is not limited to these.
[0074] Third-person perspective: The virtual camera in the virtual scene is positioned a certain distance behind the virtual object, and the viewpoint shows the virtual object and all combat elements within a certain surrounding environment.
[0075] Open world: refers to a virtual scene in a game that is completely free and open, where virtual objects can freely move and explore in any direction, and the distance between the boundaries of each direction is very large.
[0076] The virtual object interaction method provided in this application can be executed by a computer device. In some embodiments, the computer device is a terminal or a server. The following describes the implementation environment of the virtual object interaction method provided in this application, using a computer device as an example. Figure 1 This is a schematic diagram illustrating the implementation environment of a virtual object interaction method provided in an embodiment of this application. See also... Figure 1 The implementation environment includes terminal 101 and server 102. Terminal 101 and server 102 can be connected directly or indirectly via wired or wireless communication, which is not limited herein.
[0077] In some embodiments, terminal 101 is a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, smart voice interaction device, smart home appliance, in-vehicle terminal, etc., but is not limited to these. Terminal 101 has an application installed that supports virtual scenes. This application can be any of the following: first-person shooter (FPS) game, third-person shooter game, multiplayer online battle arena (MOBA) game, virtual reality application, 3D map application, or multiplayer shooting survival game. Terminal 101 can not only display the virtual scene of the virtual game, but also operate virtual objects located in the virtual scene to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing at least one of these. Illustratively, the virtual object is a virtual character, such as a realistic or anime character.
[0078] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or even more. This application does not limit the number of terminals or the type of device.
[0079] In some embodiments, server 102 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. Server 102 is used to provide background services for applications supporting virtual scenarios. In some embodiments, server 102 undertakes the main computing work, and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work, and terminal 101 undertakes the main computing work; or, server 102 and terminal 101 collaborate on computing using a distributed computing architecture.
[0080] Figure 2 This is a flowchart of a virtual object interaction method provided according to an embodiment of this application. See also... Figure 2 In this embodiment, the interaction method of the virtual object is described using an example executed by a terminal. The interaction method of the virtual object includes the following steps:
[0081] 201. The terminal displays a virtual scene, which includes multiple polluted areas, each containing a pollution source.
[0082] In this embodiment, the virtual scene is a three-dimensional space, and the multiple contaminated areas included in the virtual scene are three-dimensional spatial regions. Since virtual objects typically move on the ground in the virtual scene, the shape of the contaminated area described in this embodiment is the shape of the projection of the three-dimensional spatial region onto the ground. Accordingly, the shape of the contaminated area can be circular, square, polygonal, or irregular, and this embodiment does not impose any restrictions on this. The multiple contaminated areas may or may not overlap, and this embodiment does not restrict the position of the multiple contaminated areas in the virtual scene. Each contaminated area contains a pollution source. The extent of pollution spread caused by the pollution source is the contaminated area in which it is located.
[0083] 202. During the movement of a virtual object within a target contaminated area in multiple contaminated areas, the terminal displays the regional impact value of the virtual object's location based on the distance between the virtual object and the target pollution source in the target contaminated area. This regional impact value is used to indicate the degree of contamination of the virtual object's location by the target pollution source.
[0084] In this embodiment, the virtual object is a terminal-controlled virtual object. The terminal can control the virtual object to move freely in a virtual scene, such as controlling the virtual object to enter a target contaminated area among multiple contaminated areas. When the virtual object is located within the target contaminated area, the target contaminant within the target contaminated area will affect the virtual object. The terminal displays the regional influence value of the virtual object's location to reflect the magnitude of the target contaminant's influence on the virtual object. This influence magnitude is equal to the degree of contamination of the virtual object's location by the target contaminant. The target contaminant can be located anywhere within the target contaminated area. As the virtual object moves within the target contaminated area, the regional influence value displayed by the terminal changes as the distance between the virtual object and the target contaminant changes. Optionally, the closer the virtual object is to the target contaminant, the higher the degree of contamination of the virtual object's location by the target contaminant, and the larger the regional influence value; the farther the virtual object is from the target contaminant, the lower the degree of contamination of the virtual object's location by the target contaminant, and the smaller the regional influence value. During the movement of the virtual object within the target contaminated area, the terminal can not only display the regional influence value but also display the transformation of the target contaminant into a target object.
[0085] 203. When the distance between the virtual object and the target pollution source is no greater than the distance threshold, the terminal displays the target object, which is converted from the target pollution source.
[0086] In this embodiment, as the virtual object gradually approaches the target pollution source, the distance between the virtual object and the target pollution source decreases. When the virtual object is no more than a distance threshold from the target pollution source, the target pollution source can be converted into a target object. This target object is an NPC (Non-Player Character) in the virtual scene. The virtual object controlled by the terminal can interact with the target object within the target pollution area.
[0087] 204. When a virtual object defeats a target object, the terminal displays the target contaminated area as the target purified area. This target purified area is used to reduce the regional impact value of the currently existing pollution sources on the target purified area.
[0088] In this embodiment, the contaminated area and the object within it coexist. When a target object in the contaminated area is defeated by a virtual object, the target object is removed. Correspondingly, the terminal no longer displays the contaminated area, but instead displays the source area where the contaminated area is located as the cleaned area; that is, the virtual object is no longer affected by the contaminated area. When the virtual object is located within the cleaned area, the degree of contamination at that location is reduced, meaning the area's influence value is reduced. In this embodiment, the cleaned area is a three-dimensional space area, and its shape is the projection of the three-dimensional space area onto the ground. Accordingly, the shape of the cleaned area can be circular, square, polygonal, or irregular; this embodiment does not impose any limitations on this.
[0089] This application provides an interaction scheme for virtual objects. By setting multiple contaminated areas in a virtual scene and displaying the regional impact value of the virtual object's location based on the distance between the virtual object and the target contaminant, the scheme reflects the degree of contamination of the virtual object's location by the target contaminant. Since different locations are contaminated to different degrees by the target contaminant, the virtual object can be guided to quickly find the target contaminant. As the distance between the virtual object and the target contaminant continuously decreases, when the distance between the virtual object and the target contaminant is no greater than a distance threshold, the target contaminant is transformed into a target object, allowing the virtual object to interact with the target object. By defeating the target object, the target contaminated area is displayed as a target purified area, which reduces the regional impact value of the currently existing contaminant on the target purified area, thereby reducing the degree of contamination of the virtual object's location. This enriches the content of the virtual game, increases the interaction methods between virtual objects and objects in the virtual game, and improves the efficiency of human-computer interaction.
[0090] Figure 3 This is a flowchart of another virtual object interaction method provided according to an embodiment of this application, see [link to flowchart]. Figure 3 In this embodiment, the interaction method of the virtual object is described using an example executed by a terminal. The interaction method of the virtual object includes the following steps:
[0091] 301. The terminal displays the game impact values of virtual scenes and virtual objects. The virtual scene includes multiple contaminated areas, each containing a contamination source. The game impact values change with the duration of participation in the virtual game.
[0092] In this embodiment, after the virtual game begins, the terminal displays a virtual object in the virtual scene. While displaying the virtual scene, the terminal also displays the game impact value of the virtual object's location. This game impact value reflects the urgency for the virtual object to complete the virtual game, reminding it to complete the task objective as quickly as possible. The virtual object remains under this impact until the virtual game ends. At any given time, the game impact values at different locations in the virtual scene can be the same or different; this embodiment does not impose any restrictions on this. Regardless of the virtual object's location in the virtual scene, it corresponds to a game impact value. Optionally, the game impact value may decrease or increase as the duration of the virtual game increases; this embodiment does not impose any restrictions on this.
[0093] For example, assuming that at any given moment, all locations in the virtual scene experience the same game impact value, and this impact value increases with the duration of the virtual game, the impact value of the virtual object's location is 10 after 15 minutes of gameplay. After 30 minutes, the impact value is 20. This impact value serves as a reminder to the player that the current virtual game has been running for a considerable time. If the virtual object cannot complete the game's objective quickly, the game is considered lost. This embodiment of the application uses this impact value to visually display the urgency of the virtual object completing the game, enabling the virtual object to actively seek and complete the game's objective, thereby improving human-computer interaction efficiency.
[0094] In this embodiment, besides using the game impact value to remind virtual objects to complete the virtual game as soon as possible, pollution sources within the polluted area of the virtual scene will affect virtual objects entering the polluted area. The area impact value assigned to the virtual object by the pollution source can also remind the virtual object to actively participate in the virtual game and eliminate the impact of the polluted area as soon as possible to complete the virtual game. See step 302 below. The number of polluted areas in the virtual scene can be 5, 6, or 7, etc., and this embodiment does not impose any limitation on this.
[0095] For any contaminated area, there is a pollution source. This pollution source is associated with an object. The terminal can control virtual objects to enter the contaminated area, and then control the interaction between the virtual objects and the objects associated with the pollution source.
[0096] In some embodiments, at the beginning of a virtual game, the terminal can select a certain number of preset areas from multiple pre-configured preset areas as the polluted areas in the virtual game. Correspondingly, the terminal pre-configures n preset areas in the virtual scene, where n is a positive integer. Then, in response to the start instruction of the virtual game, the terminal randomly selects m preset areas from the n preset areas as the polluted areas in the virtual game. That is, in the virtual game, the number of polluted areas included in the virtual scene is m, and m is a positive integer. Optionally, m belongs to the interval [a, b], where a < b. Different virtual games can correspond to different values. If n < a, it will cause n to be less than m. In this case, the terminal directly uses the n preset areas as the polluted areas in the virtual game.
[0097] For example, Figure 4 is a schematic diagram of a preset area provided according to an embodiment of the present application. Refer to Figure 4 , where 7 preset areas are configured in the virtual scene. Figure 4 The irregular areas in [Figure] are used to represent the terrain of the ground in the virtual scene. When the virtual game starts, the terminal can randomly select a certain number of preset areas from the above 7 preset areas as the polluted areas in the virtual game. For example, when the virtual game starts, the terminal randomly displays Preset Area 1, Preset Area 2, Preset Area 3, Preset Area 4, and Preset Area 5 in the virtual scene as the 5 polluted areas in the virtual object.
[0098] In some embodiments, when pre-configuring n preset areas, the terminal can determine the positions of each preset area according to the spawn point positions of the virtual objects in the virtual scene, so that there is at least one spawn point position near each preset area. For example, the distance between the position of the preset area and the spawn point position of the virtual object is not less than a first distance, so as to prevent the virtual object from finding the polluted area too quickly and reducing the player experience. Or, the terminal can also determine the positions of the preset areas according to the positions of the target objects in the virtual game. For example, the distance between the position of the preset area and the position of the target object in the virtual game is not less than a second distance, so as to prevent the virtual object from triggering the target object during the interaction with the objects in the polluted area and causing interference to the interaction in the area. The target object is the ultimate goal of the virtual game. After defeating the target object, the virtual game will end.
[0099] In some embodiments, in addition to randomly selecting polluted areas from multiple pre-configured preset areas, the terminal can also use different methods to select preset areas that meet the conditions from the multiple pre-configured preset areas for the virtual object as the polluted areas in the virtual game.
[0100] In Method 1, the degree of contamination of the virtual object's location varies depending on the contamination source in different contaminated areas. Correspondingly, the attack value, health value, and other attribute values of objects associated with contamination sources in different contaminated areas differ. The terminal can obtain the virtual object's level. Then, based on this object level, the terminal determines objects with matching levels. The terminal then uses a preset area where the contamination source associated with that object is located as the contaminated area for the virtual match. The solution provided in this application, by selecting the area where the contamination source associated with an object matching the virtual object's level is located, ensures that the virtual object neither defeats the object too quickly nor is unable to defeat it, thus ensuring that the virtual match neither ends too quickly nor is prolonged or unsuccessful, thereby improving the player experience.
[0101] Method Two: Most virtual objects can only defeat a limited number of objects, not all. The terminal can obtain the virtual object's historical interaction records. These records include multiple objects defeated by the virtual object within a historical time period. Then, based on these records, the terminal selects a preset area from multiple preset areas containing the pollution sources associated with the multiple objects that the virtual object can defeat, as the pollution area for the virtual match. The solution provided in this application, by selecting the preset area containing the pollution sources associated with the multiple objects that the virtual object can defeat based on its historical interaction records, enables the virtual object to complete the virtual match, thereby improving the player experience.
[0102] It should be noted that the server can also pre-configure multiple preset regions, from which a certain number of preset regions can be selected as the polluted regions in the virtual game. This method is similar to the method used by the terminal to determine the polluted regions, and will not be elaborated upon here.
[0103] In some embodiments, the game impact value not only reflects the degree of global pollution in the virtual game on the location of the virtual object, but also reflects the urgency of the virtual object completing the virtual game. The terminal can display the virtual scene based on the degree of impact on the location of the virtual object. In other words, the terminal can render the virtual scene based on the game impact value of the location of the virtual object. Accordingly, the terminal obtains the game impact value of the location of the virtual object. Then, the terminal determines the first rendering parameters of the virtual scene based on the game impact value. Then, the terminal displays the virtual scene based on the first rendering parameters. The first rendering parameters include parameters for indicating the brightness of the virtual scene. The larger the game impact value of the location of the virtual object, the lower the brightness of the virtual scene displayed by the terminal, making the virtual scene darker; the smaller the game impact value of the location of the virtual object, the higher the brightness of the virtual scene displayed by the terminal, making the virtual scene brighter. The solution provided in this application renders a virtual scene based on the game impact value of the virtual object's location. Since the rendering parameters determined by different game impact values are different, the brightness of the rendered virtual scene also varies, which enriches the display form of the virtual scene, allows players to be immersed in the game, and enhances the game experience.
[0104] 302. When a virtual object enters a target contaminated area among multiple contaminated areas, the terminal displays the regional impact value of the target contaminated area. This regional impact value is used to indicate the degree of contamination of the virtual object's location by the target contamination source.
[0105] In this embodiment, the target contaminated area is any one of multiple contaminated areas. When the terminal controls a virtual object to explore in a virtual scene, it can control the virtual object to enter the target contaminated area. When the virtual object enters the target contaminated area, its position is within the range that the target contaminated source can generate. The degree of contamination is reflected by the regional influence value of the target contaminated area. Optionally, when the virtual object moves in different contaminated areas, the change range of the virtual object's regional influence value can be the same or different; this embodiment does not impose any limitation on this.
[0106] In some embodiments, the terminal can display the regional impact value of the target contaminated area on the virtual scene in different ways, see the two display methods below.
[0107] Method 1: The terminal independently displays the game impact value and the area impact value in the virtual scene. By independently displaying the game impact value and the area impact value, the extent to which the virtual object's location is affected by the virtual game and the extent to which it is affected by the target area can be intuitively shown. This allows the player's decisions to be influenced based on the extent of the pollution, and the player's actions to control the virtual object's stay or leave based on the corresponding decisions, thereby improving the efficiency of human-computer interaction.
[0108] Method Two: The terminal can display the sum of the game impact value and the area impact value in the virtual scene. Accordingly, the terminal sums the game impact value and the area impact value to obtain the impact sum. Then, the terminal displays the impact sum in the virtual scene. Optionally, the terminal can directly display the above impact sum without performing the step of displaying the area impact value, to avoid players perceiving sudden changes in values and affecting their judgment. The terminal can also cancel the display of the game impact value and the area impact value, only displaying the impact sum, using the impact sum to replace the game impact value and the area impact value. The terminal can also display all three values: game impact value, area impact value, and impact sum. This application embodiment does not limit the method of displaying the impact sum. By displaying the sum of the game impact value and the area impact value, all contamination suffered by virtual objects in the virtual scene can be intuitively shown, which not only enriches the content of the virtual game but also allows control over the retention or removal of virtual objects based on the magnitude of contamination, thereby improving human-computer interaction efficiency.
[0109] In some embodiments, the local impact value affects the display of the virtual scene, and the sum of the local impact value and the regional impact value also affects the display of the virtual scene. Accordingly, when a virtual object is located outside multiple contaminated areas, the degree of contamination at the location of the virtual object is reflected by the local impact value. In this case, the terminal can render the virtual scene based on the local impact value, i.e., the method in step 301, which will not be elaborated further here. When the terminal controls a virtual object to enter a target contaminated area, the degree of contamination at the location of the virtual object is reflected by the sum of the local impact value and the regional impact value of the target contaminated area. In this case, the terminal can render the virtual scene based on the local impact value and the regional impact value. Accordingly, the terminal obtains the local impact value and at least one regional impact value at the location of the virtual object. Then, the terminal determines a second rendering parameter for the virtual scene based on the sum of the local impact value and at least one regional impact value. Then, the terminal displays the virtual scene based on the second rendering parameter. The second rendering parameter includes a parameter for indicating the brightness of the virtual scene. The larger the sum of the game impact value and the area impact value, the lower the brightness of the virtual scene displayed on the terminal, making the virtual scene darker; conversely, the smaller the sum of the game impact value and the area impact value, the higher the brightness of the virtual scene displayed on the terminal, making the virtual scene brighter. The solution provided in this application renders the virtual scene based on the game impact value and area impact value of the virtual object's location. Since different game impact values and area impact values determine different rendering parameters, the brightness of the rendered virtual scene also varies, enriching the display format of the virtual scene, enabling players to feel immersed and improving the game experience.
[0110] In some embodiments, the terminal can also render the virtual scene based on the regional influence value of the virtual object's location. This method is similar to the method described above for rendering the virtual scene based on the game influence value, and will not be repeated here. The solution provided in this application renders the virtual scene based on the regional influence value of the virtual object's location. Since different regional influence values determine different rendering parameters, the brightness of the rendered virtual scene also varies, enriching the display form of the virtual scene, enabling players to feel immersed and improving the game experience.
[0111] In some embodiments, multiple virtual objects can team up to participate in the virtual game. In this virtual game, all of these virtual objects are affected. For any virtual object, the influence value of its location can be a game influence value, or the sum of a game influence value and a region influence value. The multiple influence values of the locations of the multiple virtual objects can be the same or different. The terminal can render the virtual scene based on the sum of the multiple influence values of the locations of the multiple virtual objects. Accordingly, the terminal obtains the multiple influence values of the locations of the multiple virtual objects. Then, the terminal determines a third rendering parameter for the virtual scene based on the sum of the multiple influence values. Then, the terminal displays the virtual scene based on the third rendering parameter. The solution provided in this application, by rendering the virtual scene based on the multiple influence values of the locations of multiple virtual objects, results in different rendering parameters determined by different influence values, leading to differences in the brightness of the rendered virtual scene. This enriches the display form of the virtual scene, enabling players to feel immersed and improving the game experience.
[0112] 303. During the movement of a virtual object within a target contaminated area in multiple contaminated areas, the terminal updates and displays the regional impact value of the virtual object's location based on the change in the distance between the virtual object and the target pollution source in the target contaminated area.
[0113] In this embodiment, as the virtual object moves within the target contaminated area, the distance between the virtual object and the target contaminated source within the area remains stationary. Consequently, the distance between the virtual object and the target contaminated source changes, and the area influence value displayed on the terminal also changes. The closer the virtual object is to the target contaminated source, the greater the area influence value; conversely, the farther the virtual object is from the target contaminated source, the smaller the area influence value.
[0114] In some embodiments, there is a functional relationship between the distance between the virtual object and the target pollution source and the regional impact value of the virtual object's location. The terminal can display the regional impact value of the virtual object's location based on this functional relationship and the distance between the virtual object and the target pollution source. Accordingly, the terminal acquires the impact value curve of the target pollution area. Then, based on the impact value curve and the distance between the virtual object and the target pollution source in the target pollution area, the terminal determines the regional impact value of the virtual object's location. The terminal then displays this regional impact value on the virtual scene. The impact value curve indicates the regional impact value corresponding to different distances. This impact value curve represents the functional relationship between the distance between the virtual object and the target pollution source and the regional impact value of the virtual object's location. The impact value curves for different pollution areas can be the same or different; this embodiment does not impose any limitations on this. The solution provided in this embodiment determines the regional impact value of the virtual object's location by using the impact value curve of the target pollution area and the distance between the virtual object and the target pollution source, making the determined regional impact value more accurate. Furthermore, by displaying the regional impact value, the pollution level of the virtual object's location can be intuitively displayed, enriching the content of the virtual game.
[0115] In some embodiments, the target contaminated area may overlap with at least one non-target contaminated area among multiple contaminated areas. During the movement of a virtual object within the target contaminated area of the multiple contaminated areas, the virtual object may move into the overlapping area. In this case, the location of the virtual object is contaminated not only by the target contaminated area but also by at least one non-target contaminated area. Consequently, the area influence value displayed by the terminal for the location of the virtual object will change. Accordingly, during the movement of a virtual object within the target contaminated area of the multiple contaminated areas, if the virtual object enters the overlapping area, the terminal determines a first area influence value and at least one second area influence value. The terminal then displays the sum of the first area influence value and at least one second area influence value as the area influence value for the location of the virtual object. The first area influence value is determined based on the target contaminated area, and the at least one second area influence value is determined based on at least one non-target contaminated area that overlaps with the target contaminated area, and the location of the virtual object is within this overlapping area. In other words, the virtual object is simultaneously located within the target contaminated area and the aforementioned at least one non-target contaminated area. The solution provided in this application displays the regional impact value of the virtual object's location by summing the regional impact values of multiple contaminated areas where the virtual object is located. This allows for a more intuitive display of the overall contamination affecting the virtual object's location, enriching the content of the virtual game.
[0116] In some embodiments, the regional influence value may be displayed at the top, left, or right of the terminal screen; this application embodiment does not impose any limitation on this. The regional influence value may be displayed numerically or as a percentage; this application embodiment does not impose any limitation on this.
[0117] For example, Figure 5 This is a schematic diagram of a regional influence value provided according to an embodiment of this application. See also... Figure 5 The terminal displays a virtual scene of a virtual game, in which virtual objects are shown. In the upper right corner of the terminal screen, a radar control is displayed, indicating the current position of the virtual object. Below the radar control, the terminal displays the area influence value as a percentage, which is 35%.
[0118] In some embodiments, the pollution source has multiple forms. As the distance between the virtual object and the target pollution source changes, the form of the target pollution source will also change. For details, please refer to steps 304 to 305.
[0119] 304. When a virtual object moves within a target contaminated area, and the distance between the virtual object and the target contaminated source is greater than a distance threshold, the terminal displays the target contaminated source within the target contaminated area.
[0120] In this embodiment, the distance threshold can be 10 meters, 15 meters, or 20 meters; this embodiment does not impose any limitation on this. The distance thresholds corresponding to pollution sources in different pollution areas can be the same or different; this embodiment does not impose any limitation on this. When the distance between the virtual object and the target pollution source is greater than the distance threshold, the target pollution source is in an inactive state. At this time, the target pollution source will not move or interact with the virtual object. In other words, the target pollution source cannot be attacked by the virtual object, nor can it attack the virtual object.
[0121] In some embodiments, the terminal can display the target pollution source through special effects. These effects can be tornado effects, typhoon effects, or fog effects, etc., and this application embodiment does not limit this. Therefore, when the distance between the virtual object and the target pollution source is greater than a distance threshold, the target pollution source is considered a non-physical entity.
[0122] For example, Figure 6 This is a schematic diagram illustrating the conversion between a target pollution source and a target object according to an embodiment of this application. See also... Figure 6 , Figure 6 (a) in the example shows how a terminal uses a tornado effect to present a target pollution source when the distance between the virtual object and the target pollution source is greater than a distance threshold.
[0123] 305. When the distance between the virtual object and the target pollution source is no greater than the distance threshold, the terminal displays the target object, which is converted from the target pollution source.
[0124] In this embodiment, as the virtual object gradually approaches the target pollution source, the distance between the virtual object and the target pollution source decreases. When the distance between the virtual object and the target pollution source equals a distance threshold, the terminal converts the target pollution source into a target object. This target object can be considered a form of the target pollution source. The target pollution source displayed in the form of a target object is in an activated state; at this time, the target object can move and interact with the virtual object. In other words, the target object can be attacked by the virtual object and can also attack the virtual object. The target object can be displayed in a humanoid form, a mechanical form, or other forms. In this case, the target object is an entity. Optionally, when the target pollution source is converted into a target object, the terminal not only displays the target object but can also display other objects near the target object. These other objects can also interact with the virtual object.
[0125] For example, see continue. Figure 6 , Figure 6 (b) exemplarily illustrates the transformation of a target pollution source into a target object. The target pollution source transforms from a tornado shape into a humanoid shape. Several other objects are also displayed around the target object. During the transformation, the tornado effect gradually becomes transparent, and the target object gradually becomes visible. The terminal can set a function curve to control the transformation of the target pollution source into the target object. Optionally, there is a correlation between the target pollution source and the target object; for example, some effects from the target pollution source may be retained on the target object to prompt the target object.
[0126] It should be noted that steps 304 and 305 above are optional. When the target contaminant is displayed in a non-interactive form within the target contamination area, the terminal can convert the target contaminant into a target object through steps 304 and 305, thus allowing execution of step 306 to control the interaction between the virtual object and the target object. During the movement of the virtual object within the target contamination area, the form of the target contaminant may change, transforming from a target contaminant into a target object. That is, the execution timing of steps 304 and 305 can be the same as that of step 303. The terminal can execute steps 304 and 305 while controlling the movement of the virtual object within the target contamination area in step 303. When the target contaminant is displayed in the target contamination area as a target object, the terminal does not need to execute steps 304 and 305; after executing step 303, it directly executes step 306, enabling the virtual object to interact with the target object.
[0127] 306. The terminal controls the interaction between the virtual object and the target object.
[0128] In the embodiments of this application, the interaction between the virtual object and the target object includes various interactive behaviors such as attack, defense, and pursuit.
[0129] In some embodiments, when the terminal controls the virtual object to move away from the target object, the target object can chase the virtual object. Accordingly, the terminal controls the virtual object to move away from the target object. Then, if the distance between the virtual object and the target object is less than a distance threshold, the terminal displays the target object chasing the virtual object. The solution provided in this application embodiment allows the target virtual object to chase the virtual object when the distance between the virtual object and the target object is less than a distance threshold, increasing the interaction methods between the virtual object and objects within the contaminated area.
[0130] In some embodiments, as the virtual object moves further away from the target object, the distance between them increases, and the target object abandons pursuit when it can no longer catch up. Accordingly, the terminal controls the virtual object to move away from the target object. Then, when the distance between the virtual object and the target object is greater than or equal to a distance threshold, the terminal displays the target object as a target pollution source. At this time, the target pollution source cannot move or interact with the virtual object. Optionally, the target object can directly become a target pollution source at its current position after abandoning pursuit, or it can return to its initial position and then become a target pollution source. The initial position is the position where the target pollution source becomes the target object. The solution provided in this application, when the distance between the virtual object and the target object is greater than or equal to a distance threshold, not only enriches the display method of the target pollution source but also enriches the content of the virtual game.
[0131] For example, see continue. Figure 6 , Figure 6 (c) exemplarily illustrates the transformation of a target object into a target pollution source. As shown, it transforms from a humanoid form to a tornado form. During the transformation, the target object and surrounding objects gradually become transparent. The tornado effect gradually appears. The terminal can set a function curve to control the transformation of the target object into a target pollution source.
[0132] In some embodiments, as the target object moves, the position of the target contaminated area also changes, ensuring that the target object remains within the target contaminated area. Optionally, the position of the target object relative to the target contaminated area may remain constant or change.
[0133] It should be noted that when the virtual object approaches the target pollution source again, the terminal repeats steps 304 to 306. Accordingly, if the distance between the virtual object and the target pollution source is greater than a distance threshold, the terminal displays the target pollution source again in the target pollution area. At this time, the target pollution source cannot move and cannot interact with the virtual object. If the distance between the virtual object and the target object is equal to the distance threshold, the terminal displays the target pollution source again, converting it to the target object. If the distance between the virtual object and the target object is greater than or equal to the distance threshold, the terminal displays the target object again, converting it to the target pollution source.
[0134] To more clearly describe the conversion process between the target pollution source and the target object, the conversion process will be further described below with reference to the accompanying drawings. Figure 7 This is a flowchart illustrating the conversion between a target pollution source and a target object, according to an embodiment of this application. See also... Figure 7 At the start of a virtual match, the terminal initializes multiple contaminated areas in the virtual scene. Taking the target contaminated area as an example, the terminal displays the target contaminated source within that area. The terminal then checks if a virtual object exists at a distance equal to a distance threshold from the target contaminated source. If no virtual object exists, the terminal continues to display the target contaminated source. If a virtual object exists, the terminal converts the target contaminated source into a target object. Next, the terminal checks if a virtual object exists at a distance less than the distance threshold from the target object. If a virtual object exists, the terminal displays the virtual object interacting with the target object. The target object can then track the virtual object. If no virtual object exists, the terminal converts the target object into a target contaminated source. The terminal then continues to display the target contaminated source until a virtual object reappears at a distance equal to the distance threshold from the target contaminated source.
[0135] In some embodiments, the degree of pollution of a pollution source is related to the attribute value of the object that the pollution source can convert. The higher the degree of pollution of the pollution source, the higher the attribute value of the object that the pollution source can convert; the lower the degree of pollution of the pollution source, the lower the attribute value of the object that the pollution source can convert. The attribute value is at least one of multiple values such as attack value, health value, and defense value, and this embodiment does not limit this. During the interaction between the virtual object and the object that the pollution source can convert, objects with different attribute values will have different effects on the virtual object. For example, the higher the attribute value of the object, the stronger the attack launched by the virtual object, the greater the damage the virtual object will suffer, and the more difficult it is for the virtual object to defeat the object. The lower the attribute value of the object, the weaker the attack launched by the virtual object, the less damage the virtual object will suffer, and the easier it is for the virtual object to defeat the object. The degree of pollution of the pollution source in different pollution areas is different, and the regional influence value displayed by the terminal is also different. By displaying the regional influence value of the target pollution area, the terminal can intuitively display the degree of pollution of the target pollution source in the target pollution area, providing players with a reference to understand the attributes of the target object, thereby influencing players' decisions and improving the efficiency of human-computer interaction.
[0136] In some embodiments, pollution sources can also reduce the attribute values of virtual objects. The degree of influence of pollution sources varies depending on their pollution level. The higher the pollution level of a pollution source, the greater the reduction in the attribute values of virtual objects within the polluted area; conversely, the lower the pollution level, the less the reduction. Alternatively, the higher the pollution level, the faster the reduction in the attribute values of virtual objects within the polluted area; and the lower the pollution level, the slower the reduction. This embodiment does not impose any limitations on these aspects. By displaying the regional impact value of the target polluted area, the terminal can intuitively show the pollution level of the target pollution source within that area, providing players with a reference to understand the current situation of virtual objects, thereby influencing player decisions and improving human-computer interaction efficiency.
[0137] In some embodiments, as the virtual game progresses, the polluted areas in the virtual scene evolve. This evolution refers to the increased degree of pollution of the location of the virtual object by the polluted area, that is, the increased regional influence value of the location of the virtual object due to the pollution source within the polluted area. The terminal can display a prompt message indicating the evolution of the polluted area. Accordingly, in response to the area evolution command, the terminal displays a first prompt message. This first prompt message indicates that the regional influence value within the polluted area increases with the change in distance from the pollution source within the area, and the attribute value of the object corresponding to the pollution source within the polluted area is improved. The polluted area refers to a polluted area within the area containing a non-interactive pollution source. For polluted areas within the area that display objects corresponding to pollution sources, the current area evolution command will not affect them.
[0138] For example, Figure 8 This is a schematic diagram of a first prompt message provided according to an embodiment of this application. See also... Figure 8 When the contaminated area in the virtual game has evolved, the terminal displays a prompt message above the virtual scene. For example... Figure 8 As shown, the message reads, "Attention! The global contaminated area has evolved."
[0139] In some embodiments, as the virtual game progresses, the virtual game evolves, meaning the game influence value of the virtual object's location changes. The terminal can display a prompt indicating the game evolution. Accordingly, in response to a game evolution command, the terminal displays a second prompt indicating an increase in the game influence value.
[0140] 307. When the virtual life value of the target object reaches the defeat threshold, the terminal displays the target contaminated area as the target purified area. The target purified area is used to reduce the regional impact value of the currently existing contamination source on the target purified area.
[0141] In this embodiment, when the terminal controls a virtual object to interact with a target object, it can reduce the target object's virtual health. The defeat thresholds for different objects can be the same or different; this embodiment does not impose any restrictions on this. When the target object's virtual health falls below its defeat threshold, the target object is defeated by the virtual object. Then, the terminal removes the target object from the virtual scene. Because the target object and the target contaminated area have a coexistence relationship, when the target object is removed, the terminal no longer displays the target contaminated area, thus the location of the virtual object is no longer contaminated by the target contamination source within the target contaminated area.
[0142] In some embodiments, when a target object is removed, the terminal can display a removal effect to visually indicate that the target object has been removed from the virtual scene. The contaminated area of the target object also no longer exists. The removal effect can be an explosion effect, a shattering effect, etc., and this application embodiment does not limit this.
[0143] For example, Figure 9 This is a schematic diagram illustrating the removal of a target object according to an embodiment of this application. See also... Figure 9 When the virtual health of a target object falls below the defeat threshold, the terminal displays an explosion effect at the target object's location, replacing the previously displayed target object. This explosion effect indicates that the virtual scene no longer includes the target object and its contaminated area.
[0144] In this embodiment, after a virtual object defeats a target object, the terminal can display a target purification area based on the target object's location at the time of defeat. The virtual object can obtain a reward for defeating the target object within this purification area. This reward includes increasing at least one attribute value of the virtual object and decreasing the area influence value of the virtual object's location. The attribute value can be attack value, health value, or defense value, etc., and this embodiment does not limit this. The terminal can display the increased attribute value and the decreased area influence value. The terminal can also display purification area effects within the target purification area. These purification area effects can be water ripple effects spreading outwards, halo effects, or fog effects, etc., and this embodiment does not limit this.
[0145] In some embodiments, the virtual scene contains existing cleanup areas. The terminal can determine whether to display a target cleanup area based on the positional relationship between the target object and the existing cleanup areas. Accordingly, if the target object is located within a cleanup area, the terminal displays cleanup area effects within that area. If the target object is not located within any cleanup area, the terminal displays the target cleanup area, which also displays cleanup area effects. The solution provided in this application embodiment, when the target object is located within an existing cleanup area, only displays cleanup area effects within that existing cleanup area and does not display the target cleanup area, reducing runtime consumption; when the target object is not located within any existing cleanup area, the terminal displays both the target cleanup area and cleanup area effects, enriching the content of the virtual game.
[0146] For example, Figure 10 This is a flowchart illustrating the display of a target purification area according to an embodiment of this application. See also... Figure 10When a target object is defeated, the terminal checks if the target object's location is within an existing cleanup area. If the target object is within an existing cleanup area, the terminal displays cleanup area effects within the cleanup area containing the target object, but does not display the target cleanup area. If the target object is not within an existing cleanup area, the terminal displays the target cleanup area and its cleanup effects within that area.
[0147] In some embodiments, the location of the target contaminated area changes as the target object moves. To avoid conflicts between the contaminated and cleaned areas, if the target contaminated area covers the center of any cleaned area, the cleaned area is not displayed. In other words, during the movement of the contaminated area, if the contaminated area covers the center of an existing cleaned area, the terminal will no longer display the cleaned area whose center is covered.
[0148] In some embodiments, multiple cleanup areas are displayed in the virtual scene. These multiple cleanup areas may or may not overlap; the embodiments of this application do not restrict the position of these multiple cleanup areas in the virtual scene. When the terminal controls a virtual object to enter an overlapping area of cleanup areas, the terminal can adjust the regional influence value of the virtual object's location based on the various cleanup areas in which the virtual object is located. Accordingly, when a virtual object enters an overlapping area of at least two cleanup areas, the terminal adjusts the regional influence value of the virtual object's location based on these at least two cleanup areas. Then, the terminal can display the adjusted regional influence value. The solution provided by the embodiments of this application adjusts the regional influence value of the virtual object by using the various cleanup areas in which the virtual object is located, and by displaying the adjusted regional influence value, the rewards provided by the cleanup area to the virtual object can be intuitively displayed, enriching the content of the virtual game.
[0149] Optionally, the terminal can acquire at least two reward values assigned to the virtual object by the at least two purification zones. These reward values are used to reduce the regional influence value of the virtual object's location. Then, the terminal adjusts the regional influence value of the virtual object based on the maximum of the at least two reward values.
[0150] In some embodiments, the purification area has a time limit. Each purification area corresponds to a duration threshold, and the terminal controls the display duration of the purification area through this duration threshold. Accordingly, if the display duration of the target purification area is equal to the target duration threshold, the target purification area is canceled from display. The target duration threshold is the maximum display duration of the target purification area.
[0151] It should be noted that the terminal can repeatedly execute steps 302 to 307 to remove multiple contaminated areas in the virtual scene. Alternatively, the terminal can remove only some of the contaminated areas without removing all of them.
[0152] In some embodiments, the virtual scene further includes a game target object, which is the task objective of the virtual game. The terminal can control the virtual object to find and defeat the game target object to complete the virtual game. Accordingly, if the virtual object defeats the game target object, the terminal removes all remaining objects from the virtual scene. Then, the terminal displays a game-ending effect centered on the position of the game target object. Then, the terminal ends the virtual game. If the virtual object defeats the game target object, the terminal also no longer displays any remaining contaminated areas in the virtual game. The game-ending effect can be a water ripple effect spreading outward, a scene explosion effect, etc., and this embodiment does not limit this. The terminal can also render a virtual scene at a target brightness based on the game-ending rendering parameters, where the target brightness is greater than the brightness used to render the virtual scene when the contaminated areas exist.
[0153] This application provides a method for interacting with virtual objects. Multiple contaminated areas are displayed in a virtual scene. Based on the distance between the virtual object and the target contaminant, the method displays the regional influence value of the virtual object's location, reflecting the degree of contamination from the target contaminant. Since different locations are contaminated to varying degrees, the virtual object can be guided to quickly locate the target contaminant without aimless searching. As the distance between the virtual object and the target contaminant decreases, when the distance equals a distance threshold, the target contaminant is transformed into a target object, enriching the object's display methods. By transforming the target contaminant into a target object, the virtual object can interact with it. When the target object is defeated, a purification area is displayed, rewarding the virtual object and reducing the regional influence value of the virtual object's location. This not only enriches the content of the virtual game but also increases the interaction methods between virtual objects and other objects in the virtual game, improving human-computer interaction efficiency.
[0154] Figure 11 This is a schematic diagram of a virtual object interaction device according to an embodiment of this application. The device is used to execute the steps of the virtual object interaction method described above. (See also...) Figure 11 The device includes a display module 1101 and a regional display module 1102.
[0155] Display module 1101 is used to display a virtual scene, which includes multiple polluted areas, each of which includes a pollution source.
[0156] The display module 1101 is also used to display the regional impact value of the virtual object's location based on the distance between the virtual object and the target pollution source in the target pollution area during the movement of the virtual object in the target pollution area of multiple pollution areas. The regional impact value is used to represent the degree of pollution of the virtual object's location by the target pollution source.
[0157] The display module 1101 is also used to display the target object, which is obtained by converting the target pollution source, when the distance between the virtual object and the target pollution source is not greater than a distance threshold.
[0158] The area display module 1102 is used to display the target contaminated area as the target cleaned area when the virtual object defeats the target object. The target cleaned area is used to reduce the area impact value caused by the existing pollution source within the target cleaned area.
[0159] This application provides an interaction scheme for virtual objects. By setting multiple contaminated areas in a virtual scene and displaying the regional impact value of the virtual object's location based on the distance between the virtual object and the target contaminant, the scheme reflects the degree of contamination of the virtual object's location by the target contaminant. Since different locations are contaminated to different degrees by the target contaminant, the virtual object can be guided to quickly find the target contaminant. As the distance between the virtual object and the target contaminant continuously decreases, when the distance between the virtual object and the target contaminant is no greater than a distance threshold, the target contaminant is transformed into a target object, allowing the virtual object to interact with the target object. By defeating the target object, the target contaminated area is displayed as a target purified area, which reduces the regional impact value of the currently existing contaminant on the target purified area, thereby reducing the degree of contamination of the virtual object's location. This enriches the content of the virtual game, increases the interaction methods between virtual objects and objects in the virtual game, and improves the efficiency of human-computer interaction.
[0160] In some embodiments, Figure 12 This is a schematic diagram of the structure of another virtual object interaction device provided according to an embodiment of this application. See also... Figure 12 The display module 1101 is used to acquire the impact value curve of the target pollution area, which is used to indicate the regional impact value corresponding to different distances; based on the impact value curve and the distance between the virtual object and the target pollution source in the target pollution area, the regional impact value of the location of the virtual object is determined; and the regional impact value is displayed on the virtual scene.
[0161] In some embodiments, see continue to see Figure 12 The target contaminated area overlaps with non-target contaminated areas in multiple contaminated areas;
[0162] The device also includes:
[0163] The determination module 1103 is used to determine a first region influence value and at least one second region influence value when the virtual object enters an overlapping region during the movement of a virtual object within a target contaminated region in multiple contaminated regions. The first region influence value is determined based on the target contaminated region, and the at least one second region influence value is determined based on at least one non-target contaminated region.
[0164] The display module 1101 is also used to display the sum of the first region influence value and at least one second region influence value as the region influence value of the location of the virtual object.
[0165] In some embodiments, see continue to see Figure 12 The virtual scene displays the game impact value of the location of the virtual object, and this game impact value changes as the virtual game progresses;
[0166] The device also includes:
[0167] The summation module 1104 is used to sum the game impact value and the area impact value to obtain the total impact value;
[0168] Display module 1101 is also used to display effects and values in a virtual scene.
[0169] In some embodiments, see continue to see Figure 12 The display module 1101 is used to obtain the game influence value of the location of the virtual object, which changes with the progress of the virtual game; based on the game influence value, it determines the first rendering parameters of the virtual scene; and based on the first rendering parameters, it displays the virtual scene.
[0170] In some embodiments, see continue to see Figure 12 The display module 1101 is used to obtain the game influence value of the location of the virtual object and at least one area influence value, the game influence value changing with the progress of the virtual game; based on the sum of the game influence value and at least one area influence value, determine the second rendering parameters of the virtual scene; and display the virtual scene based on the second rendering parameters.
[0171] In some embodiments, see continue to see Figure 12 The device also includes:
[0172] The display module 1101 is also used to display the target pollution source as the target object when the distance between the virtual object and the target pollution source is equal to a distance threshold during the movement of the virtual object within the target pollution area.
[0173] In some embodiments, see continue to see Figure 12The device also includes:
[0174] The first control module 1105 is used to control the interaction between the virtual object and the target object;
[0175] The area display module 1102 is also used to remove the target object from the virtual scene when the virtual life value of the target object reaches the defeat threshold.
[0176] In some embodiments, see continue to see Figure 12 The device also includes:
[0177] The second control module 1106 is used to control the virtual object to move away from the target object;
[0178] The display module 1101 is also used to display the target object chasing the virtual object when the distance between the virtual object and the target object is less than a distance threshold.
[0179] In some embodiments, see continue to see Figure 12 The device also includes:
[0180] The third control module 1107 is used to control the virtual object to move away from the target object;
[0181] The display module 1101 is also used to display the target object as a target pollution source when the distance between the virtual object and the target object is greater than or equal to a distance threshold.
[0182] In some embodiments, see continue to see Figure 12 The display module 1101 is also used to respond to the regional evolution command and display a first prompt message. The first prompt message is used to indicate that the regional influence value within the polluted area increases with the change of the pollution source within the distance area, and the attribute value of the object within the polluted area is improved.
[0183] In some embodiments, see continue to see Figure 12 The display module 1101 is also used to display the target contaminated area as the target clean area when the target object is not located within any clean area. The target clean area displays a clean area effect and the target clean area is centered on the location of the target object.
[0184] In some embodiments, the display module 1101 is further configured to display purification area effects within the purification area when the location of the target object is within the purification area;
[0185] In some embodiments, see continue to see Figure 12 The location of the target contaminated area changes as the target object moves;
[0186] The device also includes:
[0187] Cancel module 1108 is used to cancel the display of any clean area when the target contaminated area covers the center of any clean area.
[0188] In some embodiments, see continue to see Figure 12 The device also includes:
[0189] The adjustment module 1109 is used to adjust the regional influence value of the virtual object based on at least two cleanup areas when the virtual object enters the overlapping part of at least two cleanup areas.
[0190] In some embodiments, see continue to see Figure 12 The virtual scene also includes the game target object, which is the task objective of the virtual game;
[0191] The area display module 1102 is also used to remove all remaining objects from the virtual scene when a virtual object defeats the target object in the game;
[0192] Display module 1101 is also used to display game end effects centered on the position of the game target object;
[0193] The device also includes:
[0194] End module 1110 is used to end a virtual game.
[0195] It should be noted that the virtual object interaction device provided in the above embodiments is only illustrated by the division of the above functional modules when running the application. In actual applications, the above 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 virtual object interaction device and the virtual object interaction method embodiment provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiment, which will not be repeated here.
[0196] Figure 13 This is a structural block diagram of a terminal 1300 provided according to an embodiment of this application. The terminal 1300 can be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1300 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0197] Typically, terminal 1300 includes a processor 1301 and a memory 1302.
[0198] Processor 1301 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1301 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1301 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1301 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0199] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1302 are used to store at least one computer program, which is executed by the processor 1301 to implement the virtual object interaction method provided in the method embodiments of this application.
[0200] In some embodiments, the terminal 1300 may also optionally include a peripheral device interface 1303 and at least one peripheral device. The processor 1301, memory 1302, and peripheral device interface 1303 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1303 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, and a power supply 1308.
[0201] Peripheral device interface 1303 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1301 and memory 1302. In some embodiments, processor 1301, memory 1302 and peripheral device interface 1303 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1301, memory 1302 and peripheral device interface 1303 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0202] The radio frequency (RF) circuit 1304 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1304 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. In some embodiments, the RF circuit 1304 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1304 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is 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 1304 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0203] Display screen 1305 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1305 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1301 for processing. In this case, display screen 1305 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1305, disposed on the front panel of terminal 1300; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1300 or in a folded design; in still other embodiments, display screen 1305 may be a flexible display screen, disposed on a curved or folded surface of terminal 1300. Furthermore, display screen 1305 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1305 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0204] The camera assembly 1306 is used to acquire images or videos. In some embodiments, the camera assembly 1306 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1306 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 cool-light flash, which can be used for light compensation at different color temperatures.
[0205] The audio circuit 1307 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1301 for processing, or input to the radio frequency circuit 1304 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal 1300. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1301 or the radio frequency circuit 1304 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1307 may also include a headphone jack.
[0206] Power supply 1308 is used to power the various components in terminal 1300. Power supply 1308 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1308 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, and 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.
[0207] In some embodiments, the terminal 1300 further includes one or more sensors 1309. The one or more sensors 1309 include, but are not limited to: an acceleration sensor 1310, a gyroscope sensor 1311, a pressure sensor 1312, an optical sensor 1313, and a proximity sensor 1314.
[0208] Accelerometer 1310 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal 1300. For example, accelerometer 1310 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1301 can control display screen 1305 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1310. Accelerometer 1310 can also be used for games or for acquiring user motion data.
[0209] The gyroscope sensor 1311 can detect the orientation and rotation angle of the terminal 1300. The gyroscope sensor 1311 can work in conjunction with the accelerometer sensor 1310 to acquire the user's 3D movements on the terminal 1300. Based on the data acquired by the gyroscope sensor 1311, the processor 1301 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0210] The pressure sensor 1312 can be disposed on the side bezel of the terminal 1300 and / or on the lower layer of the display screen 1305. When the pressure sensor 1312 is disposed on the side bezel of the terminal 1300, it can detect the user's grip signal on the terminal 1300, and the processor 1301 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1312. When the pressure sensor 1312 is disposed on the lower layer of the display screen 1305, the processor 1301 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1305. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0211] Optical sensor 1313 is used to collect ambient light intensity. In one embodiment, processor 1301 can control the display brightness of display screen 1305 based on the ambient light intensity collected by optical sensor 1313. Specifically, when the ambient light intensity is high, the display brightness of display screen 1305 is increased; when the ambient light intensity is low, the display brightness of display screen 1305 is decreased. In another embodiment, processor 1301 can also dynamically adjust the shooting parameters of camera assembly 1306 based on the ambient light intensity collected by optical sensor 1313.
[0212] The proximity sensor 1314, also known as a distance sensor, is typically located on the front panel of the terminal 1300. The proximity sensor 1314 is used to detect the distance between the user and the front of the terminal 1300. In one embodiment, when the proximity sensor 1314 detects that the distance between the user and the front of the terminal 1300 is gradually decreasing, the processor 1301 controls the display screen 1305 to switch from a screen-on state to a screen-off state; when the proximity sensor 1314 detects that the distance between the user and the front of the terminal 1300 is gradually increasing, the processor 1301 controls the display screen 1305 to switch from a screen-off state to a screen-on state.
[0213] Those skilled in the art will understand that Figure 13 The structure shown does not constitute a limitation on terminal 1300 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0214] This application also provides a computer-readable storage medium storing at least one computer program. This computer program is loaded and executed by a processor of a computer device to implement the operations performed by the computer device in the virtual object interaction method of the above embodiments. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0215] This application also provides a computer program product or computer program, which includes computer program code stored in a computer-readable storage medium. A processor of a computer device reads the computer program code from the computer-readable storage medium and executes the computer program code, causing the computer device to perform the virtual object interaction methods provided in the various optional implementations described above.
[0216] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0217] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for interacting with virtual objects, characterized in that, The method includes: Display a virtual scene, which includes multiple polluted areas, each of which includes a pollution source; As the virtual object moves within the target contaminated area of the multiple contaminated areas, based on the influence value curve of the target contaminated area and the distance between the virtual object and the target pollution source in the target contaminated area, the regional influence value of the virtual object's location is displayed. The regional influence value is used to represent the degree of contamination of the virtual object's location by the target pollution source, and the influence value curve is used to indicate the regional influence value corresponding to different distances. When the distance between the virtual object and the target pollution source is not greater than a distance threshold, the target pollution source is displayed to change from a non-interactive, non-physical form to an interactive, physical form, thus obtaining the target object. The position of the target pollution area changes as the target object moves. If the target contaminated area covers the center of any cleaned area, the cleaned area will be de-displayed. If the virtual object defeats the target object, the target contaminated area is displayed as the target cleanup area. The target cleanup area is centered on the location of the target object and is used to reduce the regional impact value of the currently existing pollution sources on the target cleanup area.
2. The method according to claim 1, characterized in that, The target contaminated area overlaps with the non-target contaminated areas among the plurality of contaminated areas; The method further includes: During the movement of a virtual object within a target contaminated area in the plurality of contaminated areas, if the virtual object enters the overlapping area, a first area influence value and at least one second area influence value are determined, wherein the first area influence value is determined based on the target contaminated area and the at least one second area influence value is determined based on at least one non-target contaminated area. The sum of the first regional influence value and the at least one second regional influence value is displayed as the regional influence value of the location of the virtual object.
3. The method according to claim 1, characterized in that, The virtual scene displays the game impact value of the location of the virtual object, and the game impact value changes with the duration of participation in the virtual game; The method further includes: The sum of the game impact value and the area impact value is obtained to obtain the total impact value; The effects and values are displayed on the virtual scene.
4. The method according to claim 1, characterized in that, The virtual scene being displayed includes: Obtain the game impact value of the location of the virtual object, and the game impact value changes as the virtual game progresses; Based on the game impact value, the first rendering parameters of the virtual scene are determined; The virtual scene is displayed based on the first rendering parameters.
5. The method according to claim 1, characterized in that, The virtual scene being displayed includes: Obtain the game impact value of the location of the virtual object and at least one area impact value, wherein the game impact value changes as the virtual game progresses; The second rendering parameters of the virtual scene are determined based on the sum of the game impact value and the at least one region impact value; The virtual scene is displayed based on the second rendering parameters.
6. The method according to claim 1, characterized in that, The method further includes: As the virtual object moves within the target contaminated area, if the distance between the virtual object and the target contaminated source is equal to a distance threshold, the target contaminated source is displayed as the target object.
7. The method according to claim 1, characterized in that, The method further includes: Control the interaction between the virtual object and the target object; If the virtual health of the target object reaches the defeat threshold, the target object is removed from the virtual scene.
8. The method according to claim 1, characterized in that, The method further includes: Control the virtual object to move away from the target object; If the distance between the virtual object and the target object is less than the distance threshold, the target object is shown chasing the virtual object.
9. The method according to claim 1, characterized in that, The method further includes: Control the virtual object to move away from the target object; If the distance between the virtual object and the target object is greater than or equal to the distance threshold, the target object is displayed as the target pollution source.
10. The method according to claim 1, characterized in that, The method further includes: In response to the regional evolution command, a first prompt message is displayed. The first prompt message is used to indicate that the regional influence value within the polluted area increases with the change in distance from the pollution source within the area, and the attribute value of the object corresponding to the pollution source within the polluted area is improved.
11. The method according to claim 1, characterized in that, The step of displaying the target contaminated area as the target purified area when the virtual object defeats the target object includes: If the target object is not located within any purification area, the target contaminated area will be displayed as the target purification area, and a purification area effect will be displayed within the target purification area.
12. The method according to claim 11, characterized in that, The method further includes: If the target object is located within the purification area, the purification area effect is displayed within that purification area.
13. The method according to claim 11, characterized in that, The method further includes: If the virtual object enters the overlapping area of at least two cleanup areas, the regional influence value of the virtual object's location is adjusted based on the at least two cleanup areas.
14. The method according to claim 1, characterized in that, The virtual scene also includes a game target object, which is the task objective of the virtual game; The method further includes: If the virtual object defeats the target object in the game, remove all remaining objects from the virtual scene; Displays a game-ending effect centered on the position of the game target object; End the virtual game.
15. An interactive device for virtual objects, characterized in that, The device includes: A display module is used to display a virtual scene, the virtual scene including multiple polluted areas, and the polluted areas including pollution sources; The display module is further configured to, during the movement of the virtual object within the target pollution area of the multiple pollution areas, display the regional influence value of the location of the virtual object based on the influence value curve of the target pollution area and the distance between the virtual object and the target pollution source in the target pollution area. The regional influence value is used to indicate the degree of pollution of the location of the virtual object by the target pollution source, and the influence value curve is used to indicate the regional influence value corresponding to different distances. The display module is further configured to, when the distance between the virtual object and the target pollution source is not greater than a distance threshold, display the target pollution source as a non-interactive, non-physical form transformed into an interactive, physical form to obtain the target object, wherein the position of the target pollution area changes as the target object moves; A cancellation module is used to cancel the display of the cleaned area if the target contaminated area covers the center of any cleaned area. The area display module is used to display the target contaminated area as a target cleanup area when the virtual object defeats the target object. The target cleanup area is centered on the position of the target object and is used to reduce the area impact value caused by the existing pollution source within the target cleanup area.
16. A computer device, characterized in that, The computer device includes a processor and a memory, the memory being used to store at least one computer program, the at least one computer program being loaded by the processor and executed as the interaction method of the virtual object according to any one of claims 1 to 14.
17. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store at least one computer program for performing the interaction method of the virtual object according to any one of claims 1 to 14.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the interaction method of the virtual object as described in any one of claims 1 to 14.
Citation Information
Patent Citations
Method for reminding danger in game, wearable equipment and computer readable storage medium
CN110215698A