Game area marking method, device, equipment and storage medium

By dynamically determining the area marking of the target game area, the problem of fixed movement routes of AI virtual objects is solved, the fun and marking efficiency of the game are improved, and flexible and efficient game area marking is achieved.

CN115869624BActive Publication Date: 2024-09-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211573613.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-08
Publication Date
2024-09-13
Estimated Expiration
2042-12-08

AI Technical Summary

Technical Problem

The existing game area marking method results in a fixed movement route of AI virtual objects and a high repetition rate, which reduces the fun of the game and the attractiveness of players, and the marking process is inefficient.

Method used

By obtaining information on multiple initial game areas in the virtual scene, the area marking of the target game area is dynamically determined, and the movement route of the second virtual object is dynamically adjusted according to the position information of the first virtual object, thereby achieving flexible marking and dynamic marking of the target game area. change.

Benefits of technology

It improves the flexibility and efficiency of game area marking, reduces the repetition rate of movement routes of AI virtual objects, and enhances the fun and attractiveness of the game.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115869624B
    Figure CN115869624B
Patent Text Reader

Abstract

The present application discloses a marking method, device, equipment and storage medium for a game area, and belongs to the field of computer technology. The method includes: obtaining multiple initial game areas included in a virtual scene and the area information of each initial game area, the area information of any initial game area is used to indicate the traffic condition of any initial game area; according to the area information of each initial game area, obtaining multiple target game areas, the target game areas are passable game areas; according to the position information of the first position of the first virtual object in the virtual scene, determining the area mark of each target game area, the area mark of the target game area is used to determine the movement route of the second virtual object in the virtual scene, and the second virtual object is an artificial intelligence AI virtual object in the virtual scene. This method improves the flexibility and efficiency of game area marking.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method, device, equipment and storage medium for marking a game area. Background Art

[0002] With the continuous development of computer technology, there are more and more types of games and more and more functions. In order to improve the fun of the game, AI (Artificial Intelligence) virtual objects are generally set in the game. AI virtual objects refer to virtual objects in the game that are controlled by computers, can simulate human thinking, and show certain intelligent behaviors. They are generally hostile virtual objects of virtual objects controlled by players. The movement route of AI virtual objects in the virtual scene depends on the area markings of each game area included in the virtual scene.

[0003] In the related art, a person who is responsible for the level design of a game (Level Designer, LD) adds area marks to each game area included in a virtual scene.

[0004] However, this method of marking the game area makes the marking of the game area fixed, resulting in the movement route of the AI ​​virtual object in the virtual scene being fixed. The movement route of the AI ​​virtual object in the virtual scene has a high repetition rate, which further leads to poor fun and low appeal of the game to players. Moreover, when the size of the virtual scene corresponding to the game is large, this method has a large workload for marking the game area, poor marking flexibility, and low efficiency. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment and storage medium for marking a game area, which can be used to solve the problem of poor flexibility and low efficiency of marking. The technical solution is as follows:

[0006] On the one hand, an embodiment of the present application provides a method for marking a game area, the method comprising:

[0007] Acquire multiple initial game areas included in the virtual scene and area information of each initial game area, wherein the area information of any initial game area is used to indicate the traffic condition of the initial game area;

[0008] According to the area information of each initial game area, a plurality of target game areas are obtained, wherein the target game areas are passable game areas;

[0009] According to the position information of the first position of the first virtual object in the virtual scene, the area marks of each target game area are determined, and the area marks of the target game area are used to determine the movement route of the second virtual object in the virtual scene. The second virtual object is an artificial intelligence AI virtual object in the virtual scene.

[0010] On the other hand, an embodiment of the present application provides a marking device for a game area, the device comprising:

[0011] An acquisition module, used to acquire multiple initial game areas included in the virtual scene and area information of each initial game area, wherein the area information of any initial game area is used to indicate the traffic status of any initial game area;

[0012] The acquisition module is used to acquire multiple target game areas according to the area information of each initial game area, and the target game areas are passable game areas;

[0013] A determination module is used to determine the area marks of each target game area according to the position information of the first position of the first virtual object in the virtual scene, and the area marks of the target game area are used to determine the movement route of the second virtual object in the virtual scene, and the second virtual object is an artificial intelligence AI virtual object in the virtual scene.

[0014] In a possible implementation, the determination module is used to determine a first game area among the multiple target game areas based on the position information of the first position, the first game area being a game area reachable by the first virtual object; and use the first mark as an area mark of the first game area.

[0015] In a possible implementation, the determination module is used to determine the key path points corresponding to the various target game areas to obtain multiple key path points, wherein the key path point corresponding to any target game area is the center point of any target game area; determine the distance between each key path point and the first position based on the position information of the first position and the position information of each key path point; use the key path point whose distance meets the distance requirement as the first path point; and determine the first game area based on the target game area corresponding to the first path point.

[0016] In one possible implementation, the determination module is used to use the target game area corresponding to the first path point as the first game area; or, determine the game area adjacent to the target game area corresponding to the first path point, and use the target game area corresponding to the first path point and the game area adjacent to the target game area corresponding to the first path point as the first game area.

[0017] In a possible implementation, the determination module is used to determine a first target area with the position indicated by the position information of the first position as the center and a first reference length as the reference distance; and to use the target game area located in the first target area as the first game area.

[0018] In a possible implementation, the determination module is further used to use a game area adjacent to the first game area among the multiple target game areas as a second game area, where the second game area is a game area controllable by the first virtual object; and use the second mark as an area mark of the second game area.

[0019] In one possible implementation, the determination module is further used to determine a third game area among the multiple target game areas based on the second game area, the third game area being a game area that will not be attacked by the first virtual object and can come into contact with the first virtual object; and use the third mark as the area mark of the third game area.

[0020] In one possible implementation, the determination module is used to determine the second target area with the position indicated by the position information of the key path point corresponding to the second game area as the center and the second reference length as the reference distance; the target game area located in the second target area other than the second game area is used as the third game area; or, determine a candidate game area among the multiple target game areas, and the distance between the key path point corresponding to the candidate game area and the key path point corresponding to the second game area is less than the first distance; the target game area among the candidate game areas other than the second game area is used as the third game area.

[0021] In a possible implementation, the determination module is further used to use the target game area adjacent to the third game area, excluding the second game area and the third game area, as a fourth game area, wherein the fourth game area is a game area that will not be attacked by the first virtual object and will not come into contact with the first virtual object; and use the fourth mark as the area mark of the fourth game area.

[0022] In a possible implementation, the acquisition module is further used to acquire position information of a second position of the second virtual object in the virtual scene;

[0023] The determination module is further used to determine a third target area with the position indicated by the position information of the second position as the center and the third reference length as the reference distance; to use the target game area located in the third target area except the second game area and the third game area as the fifth game area, and the fifth game area is a game area in which the second virtual object can be hidden; and to use the fifth mark as the area mark of the fifth game area.

[0024] In a possible implementation, the determination module is further used to determine a navigation game area among the multiple target game areas; determine a target movement route, wherein a starting position of the target movement route is a second position of the second virtual object in the virtual scene, and an end position is a key path point corresponding to the navigation game area;

[0025] The device also includes:

[0026] The control module is used to control the second virtual object to move from the second position to a key path point corresponding to the navigation game area according to the target movement route.

[0027] In one possible implementation, the determination module is used to determine multiple candidate movement routes from the second position to the key path points corresponding to the navigation game area; determine the route information corresponding to each candidate movement route; and use the candidate movement route whose corresponding route information among the multiple candidate movement routes meets the information requirements as the target movement route.

[0028] In a possible implementation, the determination module is used to, based on the route information including the route distance, select a candidate moving route whose corresponding route distance among the multiple candidate moving routes meets the distance requirement as the target moving route; based on the route information including the number of target game areas through which the route passes marked as the second mark, select a candidate moving route whose corresponding route distance among the multiple candidate moving routes meets the number requirement as the target moving route.

[0029] In a possible implementation, the acquisition module is used to determine multiple sixth game areas among the multiple initial game areas based on the area information of the respective initial game areas, the sixth game areas being passable game areas; taking the sixth game areas as the target game areas; or merging the multiple sixth game areas to obtain multiple target game areas.

[0030] In a possible implementation, the acquisition module is used to determine, for the first target game area and the second target game area in the multiple sixth game areas, a first reference area based on the position information of the key path point corresponding to the first target game area, the first reference area being the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; take the sixth game area located in the first reference area as the first area; determine a second reference area based on the position information of the key path point corresponding to the second target game area, the second reference area being the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area. The invention relates to a method for controlling the first and second game areas of a game player in a specific area. The method comprises the following steps: a) controlling the first and second game areas of a game player in a specific area; b) controlling the first and second game areas of a game player in a specific area; c) controlling the first and second game areas of a game player in a specific area; e) controlling the first and second game areas of a game player in a specific area; e) controlling the first and second game areas of a game player in a specific area; and f) controlling the first and second game areas of a game player in a specific area. The method comprises the following steps:

[0031] In one possible implementation, the acquisition module is further used to determine a third reference area based on the position information of the key path point corresponding to the first target game area, the third reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; taking the sixth game area located in the third reference area as the third area, and the second skill is different from the first skill; and determining a fourth reference area based on the position information of the key path point corresponding to the second target game area, the fourth reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area. ; Take the sixth game area located in the fourth reference area as the fourth area; determine the fourth numerical value of the sixth game area included in the third area and the sixth game area repeated in the sixth game area included in the fourth area; determine the third quotient between the fourth numerical value and the fifth numerical value, determine the fourth quotient between the fourth numerical value and the sixth numerical value, the fifth numerical value is the number of sixth game areas included in the third area, and the sixth numerical value is the number of sixth game areas included in the fourth area; based on the first quotient being greater than the target threshold, the second quotient being greater than the target threshold, the third quotient being greater than the target threshold, and the fourth quotient being greater than the target threshold, merge the first target game area and the second target game area.

[0032] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements any of the above-mentioned game area marking methods.

[0033] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor so that a computer device implements any of the above-mentioned methods for marking a game area.

[0034] On the other hand, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor so that a computer device implements any of the above-mentioned game area marking methods.

[0035] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0036] The technical solution provided in the embodiment of the present application associates the area mark corresponding to the target game area with the position information of the first position where the first virtual object is located in the virtual scene. As the first virtual object moves in the virtual scene, the area mark corresponding to the target game area will also change, so that the area mark corresponding to the target game area is not fixed, and the determination of the area mark corresponding to the target game area is more flexible. Since the area mark corresponding to the target game area is used to determine the moving route of the second virtual object in the virtual scene, when the area mark corresponding to the target game area keeps changing, the moving route of the second virtual object in the virtual scene will also change, so that the repetition rate of the moving route of the second virtual object in the virtual scene is low, thereby improving the fun of the game and increasing the attractiveness of the game to players.

[0037] Furthermore, there is no need to manually mark the area marks of each target game area in turn, which reduces the workload of marking the game area and improves the flexibility and efficiency of area marking. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0039] Figure 1 It is a schematic diagram of an implementation environment of a method for marking a game area provided in an embodiment of the present application;

[0040] Figure 2 is a flow chart of a method for marking a game area provided in an embodiment of the present application;

[0041] Figure 3 It is a schematic diagram of dividing a virtual scene provided in an embodiment of the present application;

[0042] Figure 4 is a schematic diagram of a combination of a first target game area and a second target game area provided in an embodiment of the present application;

[0043] Figure 5 is a display schematic diagram of a target game area provided in an embodiment of the present application;

[0044] Figure 6 It is a display schematic diagram of key path points corresponding to each target game area provided in an embodiment of the present application;

[0045] Figure 7 is a schematic diagram of a road network provided in an embodiment of the present application;

[0046] Figure 8 It is a schematic diagram showing the display of area marks of each target game area provided in an embodiment of the present application;

[0047] Fig. 9 is a schematic diagram of multiple candidate movement routes provided in an embodiment of the present application;

[0048] Fig.10 It is a structural schematic diagram of a marking device for a game area provided in an embodiment of the present application;

[0049] Fig.11 It is a structural diagram of a terminal device provided in an embodiment of the present application;

[0050] Fig.12 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

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

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

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

[0054] Virtual object: refers to an active object in a virtual scene, which can be a virtual person, virtual animal, cartoon character, etc. The target object can manipulate the virtual object through external components or by clicking on the touch screen. Each virtual object has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene. For example, when the virtual scene is a three-dimensional virtual scene, the virtual object is a three-dimensional model created based on animation skeleton technology.

[0055] AI (Artificial Intelligence) virtual object: In the field of gaming, it usually refers to a character in the game that is controlled and operated by a computer program, usually used to act as the player's enemy.

[0056] LD (Level Designer): refers to a sub-position under the game planning position, responsible for designing game map levels.

[0057] Tactical behavior: Related behaviors that can bring tactical advantages to oneself in tactical games, such as outflanking, flanking, grenade suppression, etc. These behaviors may not necessarily kill the enemy directly, but the tactical advantages they bring can reduce the probability of injury to oneself, protect oneself, or increase the efficiency of killing the enemy.

[0058] Figure 1 is a schematic diagram of an implementation environment of a method for marking a game area provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a terminal device 101 and a server 102 .

[0059] An application program capable of providing a virtual scene is installed and running in the terminal device 101. The terminal device 101 is used to execute the marking method of the game area provided in the embodiment of the present application.

[0060] The embodiments of the present application do not limit the types of applications that can provide virtual scenes. Exemplarily, the applications that can provide virtual scenes refer to game applications. For example, third-person shooting (TPS) games, first-person shooting (FPS) games, multiplayer online tactical competitive (MOBA) games, multiplayer shooting survival games, etc. In an exemplary embodiment, the game application involved in the embodiments of the present application is a game application based on frame synchronization, that is, the marking method of the game area provided in the embodiments of the present application can be applied to game applications based on frame synchronization.

[0061] Of course, in addition to game applications, applications that can provide virtual scenes can also be other types of applications, such as virtual reality (VR) applications, augmented reality (AR) applications, three-dimensional map programs, scene simulation programs, social applications, interactive entertainment applications, etc.

[0062] The server 102 is used to provide background services for the application program that can provide a virtual scene installed in the terminal device 101. In a possible implementation, the server 102 undertakes the main computing work, and the terminal device 101 undertakes the secondary computing work. Alternatively, the server 102 undertakes the secondary computing work, and the terminal device 101 undertakes the main computing work. Alternatively, the terminal device 101 and the server 102 use a distributed computing architecture for collaborative computing.

[0063] The terminal device 101 is any electronic device product that can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device, for example, PC (Personal Computer), mobile phone, smart phone, PDA (Personal Digital Assistant), wearable device, PPC (Pocket PC), tablet computer, smart car machine, smart TV, smart speaker, etc. The server 102 can be a server, a server cluster composed of multiple server units, or a cloud computing service center. The terminal device 101 establishes a communication connection with the server 102 through a wired network or a wireless network.

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

[0065] The present application embodiment provides a method for marking a game area. The method can be applied to the above Figure 1 The implementation environment shown is Figure 2 As an example, the flowchart of a method for marking a game area provided in an embodiment of the present application is shown in FIG. Figure 1 The terminal device 101 in the embodiment is executed. Figure 2 As shown, the method comprises the following steps:

[0066] In step 201, a plurality of initial game areas included in the virtual scene and area information of each initial game area are obtained, and the area information of any initial game area is used to indicate the traffic condition of any initial game area.

[0067] In an exemplary embodiment of the present application, an application for providing a virtual scene is installed and run in the terminal device, and the application is any type of application, which is not limited in the embodiment of the present application. Exemplarily, the application is a first-person shooter application, or a third-person shooter application, or other types of applications.

[0068] The display interface of the terminal device displays the program information of the application, which may be the icon of the application or the program name of the application. In response to the triggering operation on the program information of the application, the terminal device displays the virtual scene that the application can provide, and obtains multiple initial game areas included in the virtual scene and the area information of each initial game area. The area information of any initial game area is used to indicate the traffic conditions of any initial game area. The sizes of the initial game areas may be the same or different, and the shapes of the initial game areas may be the same or different, which are not limited in the embodiments of the present application.

[0069] Among them, the terminal device obtains multiple initial game areas included in the virtual scene in the following two ways.

[0070] In the first mode, the terminal device divides the virtual scene to obtain multiple initial game areas, and the sizes and shapes of the multiple initial game areas are the same.

[0071] Optionally, the terminal device determines the target size according to the moving speed of the AI ​​virtual object, divides the virtual scene according to the target size, and obtains multiple initial game areas. The faster the moving speed of the AI ​​virtual object, the larger the target size, and therefore the larger the size of the initial game area obtained by division; conversely, the slower the moving speed of the AI ​​virtual object, the smaller the target size, and therefore the smaller the size of the initial game area obtained by division. The initial game area can be a plane area or a three-dimensional area, and the embodiments of the present application are not limited to this. For example, the virtual scene is divided into multiple 50 cm * 50 cm * 50 cm cubes, and the area covered by each cube is an initial game area. Alternatively, the virtual scene is divided into multiple 50 cm * 50 cm squares, and the area covered by each square is an initial game area.

[0072] like Figure 3 Schematic diagram of dividing a virtual scene provided by an embodiment of the present application, wherein the virtual scene is divided into a plurality of 50 cm*50 cm*50 cm cubes, and the area covered by each cube is an initial game area.

[0073] In the second method, the terminal device obtains navigation data of the virtual scene, the navigation data includes a plurality of navigation patches, and the areas respectively covered by the plurality of navigation patches are used as a plurality of initial game areas.

[0074] Among them, the navigation data of the virtual scene is stored in the terminal device or the server. The navigation data based on the virtual scene is stored in the terminal device, and the terminal device directly obtains the navigation data of the virtual scene. The navigation data based on the virtual scene is stored in the server, and the terminal device sends a data acquisition request to the server. The data acquisition request includes the scene identification of the virtual scene. The server stores the navigation data of each virtual scene and the correspondence between the navigation data of each virtual scene and the scene identification of the virtual scene. The server obtains the navigation data of the virtual scene according to the scene identification of the virtual scene, and sends the navigation data of the virtual scene to the terminal device. Optionally, the area covered by the navigation patch is a plane area, and the size of each navigation patch can be the same or different.

[0075] It should be noted that any of the above methods can be selected to obtain multiple initial game areas, and this embodiment of the present application does not limit this.

[0076] In a possible implementation, after obtaining multiple initial game areas included in the virtual scene, it is necessary to obtain the area information of each initial game area. The method for obtaining the area information of each initial game area is similar. The embodiment of the present application only takes the process of obtaining the area information of any initial game area as an example for explanation. The process of obtaining the area information of any initial game area includes: obtaining the objects and the height above the ground included in any initial game area. According to the objects and the height above the ground included in any initial game area, the area information of any initial game area is determined.

[0077] Optionally, in response to the existence of a wall in the objects included in any initial game area, the area information of any initial game area is determined to be the first information, and the first information is used to indicate that the passage condition is impassable; in response to the absence of a wall in the objects included in any initial game area, but the height from the ground is greater than the target height, the area information of any initial game area is determined to be the first information; in response to the absence of a wall in the objects included in any initial game area, the height from the ground is greater than the target height, but there are stairs, the area information of any initial game area is determined to be the second information, and the second information is used to indicate that the passage condition is passable; in response to the absence of a wall in the objects included in any initial game area, and the height from the ground is not greater than the target height, the area information of any initial game area is determined to be the second information. Among them, the target height is set based on experience, or adjusted according to the implementation environment, and the embodiments of the present application are not limited to this. Exemplarily, the target height is the height of the AI ​​virtual object.

[0078] Optionally, after acquiring multiple initial game areas, the staff may determine the traffic conditions of each initial game area, that is, the staff may determine the area information of each initial game area.

[0079] In step 202, a plurality of target game areas are obtained according to the area information of each initial game area, and the target game area is a passable game area.

[0080] In a possible implementation, multiple sixth game areas are determined in multiple initial game areas according to the area information of each initial game area, and the sixth game area is a passable game area. The sixth area is used as the target game area. If the sizes of multiple initial game areas are the same, the size of any target game area is the same as the size of the initial game area; or, multiple sixth game areas are merged to obtain multiple target game areas. If the sizes of multiple initial game areas are the same, the size of any target game area is larger than the size of the initial game area.

[0081] Wherein, the process of merging multiple sixth game areas to obtain multiple target game areas includes: for the first target game area and the second target game area in the multiple sixth game areas, determining the first reference area according to the position information of the key path point corresponding to the first target game area; taking the sixth game area located in the first reference area as the first area. The first reference area is the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area. According to the position information of the key path point corresponding to the second target game area, determining the second reference area, taking the sixth game area located in the second reference area as the second area, and the second reference area is the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area. Determine the first value of the repeated sixth game area in the sixth game area included in the first area and the sixth game area included in the second area; determine the first quotient between the first value and the second value, and determine the second quotient between the first value and the third value; based on the first quotient being greater than the target threshold and the second quotient being greater than the target threshold, merge the first target game area and the second target game area; traverse the sixth game area according to the above steps to obtain multiple target game areas. Among them, the first skill of the second virtual object can be the shooting skill of the second virtual object, or the throwing skill of the second virtual object, or other skills of the second virtual object, which is not limited in the embodiment of the present application. The second value is the number of the sixth game area included in the first area, and the third value is the number of the sixth game area included in the second area. The target threshold is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiment of the present application. Exemplarily, the target threshold is 80%.

[0082] Optionally, based on the position information of the key path points corresponding to the first target game area, before determining the first reference area, the key path points corresponding to the first target game area need to be determined first. The embodiment of the present application does not limit the process of determining the key path points corresponding to the first target game area. Exemplarily, the process of determining the key path points corresponding to the first target game area includes: taking the center point of the first target game area as the key path point corresponding to the first target game area.

[0083] After determining the key path points corresponding to the first target game area, the process of determining the first reference area according to the position information of the key path points corresponding to the first target game area includes: taking the position indicated by the position information of the key path points corresponding to the first target game area as the center and the first candidate length as the reference distance to determine the first reference area. Among them, the first candidate length is set based on experience or adjusted according to the implementation environment, and the embodiment of the present application is not limited to this. Exemplarily, the first candidate length is the casting distance of the first skill of the second virtual object, for example, the first candidate length is 50 meters. Optionally, the position indicated by the position information of the key path points corresponding to the first target game area is used as the center of the circle, and the first candidate length is used as the radius to determine the first circle, and the area covered by the first circle is used as the first reference area.

[0084] It should be noted that the process of determining the key path points corresponding to the second target game area is similar to the process of determining the key path points corresponding to the first target game area. The process of determining the second reference area based on the position information of the key path points corresponding to the second target game area is similar to the process of determining the first reference area based on the position information of the key path points corresponding to the first target game area, and will not be repeated here.

[0085] In a possible implementation, the third reference area can also be determined according to the position information of the key path point corresponding to the first target game area, and the sixth game area located in the third reference area is used as the third area. The third reference game area is the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area. According to the position information of the key path point corresponding to the second target game area, the fourth reference area is determined, and the sixth game area located in the fourth reference area is used as the fourth area. The fourth reference area is the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area. Determine the fourth value of the sixth game area repeated in the sixth game area included in the third area and the sixth game area included in the fourth area; determine the third quotient between the fourth value and the fifth value, determine the fourth quotient between the fourth value and the sixth value, and merge the first target game area and the second target game area based on the first quotient being greater than the target threshold, the second quotient being greater than the target threshold, the third quotient being greater than the target threshold, and the fourth quotient being greater than the target threshold. Wherein, the fifth value is the number of the sixth game areas included in the third area, and the sixth value is the number of the sixth game areas included in the fourth area.

[0086] Optionally, according to the position information of the key path points corresponding to the first target game area, the process of determining the third reference area includes: taking the position indicated by the position information of the key path points corresponding to the first target game area as the center and the second candidate length as the reference distance, determining the third reference area. Wherein, the second skill is different from the first skill, for example, the first skill is a shooting skill, and the second skill is a throwing skill. The second candidate length is set based on experience, or adjusted according to the implementation environment, and the embodiment of the present application does not limit this. The second candidate length can be the same as or different from the first candidate length, and the embodiment of the present application does not limit this. Exemplarily, the second candidate length is the casting distance of the second skill of the second virtual object, for example, the second candidate length is 30 meters.

[0087] For example, Figure 4This is a schematic diagram of a merger of a first target game area and a second target game area provided in an embodiment of the present application. Wherein, (1) the white-bottomed oblique line area in the figure is the first target game area, and the gray area is the first area, and (2) the white-bottomed oblique line area in the figure is the second target game area, and the gray area is the second area. The second value of the sixth game area included in the first area is 7, the third value of the sixth game area included in the second area is 7, and the first value of the sixth game area repeated in the sixth game area included in the first area and the sixth game area included in the second area is 6. The first quotient between the first value and the second value is 85.7%, the second quotient between the first value and the third value is 85.7%, and the target threshold is 80%. Since the first quotient and the second quotient are both greater than the target threshold, the first target game area and the second target game area are merged to obtain Figure 4 (3) in the figure, wherein the area with white background and diagonal lines is the game area after the first target game area and the second target game area are merged.

[0088] like Figure 5 : is a display schematic diagram of a target game area provided in an embodiment of the present application. There are four target game areas, namely a gray area, a white area, a white background oblique line area and a gray background oblique line area.

[0089] In a possible implementation, after determining multiple target game areas, key path points corresponding to each target game area can also be determined, and the key path points corresponding to each target game area can be connected to obtain a road network. When the target game area is a plane area, the key path point corresponding to the target game area can be the center point of the target game area, and when the target game area is a three-dimensional area, the key path point corresponding to the target game area can be the mass center point of the target game area.

[0090] like Figure 6 This is a schematic diagram showing the key path points corresponding to each target game area provided by an embodiment of the present application. The black dots in each target game area in the figure are the key path points corresponding to each target game area.

[0091] The process of connecting the key path points corresponding to each target game area to obtain a road network includes: for the first point and the second point among the multiple key path points, if the first point is used as the starting point, the second point can be reached without passing through the target game area corresponding to the third point, then the first point and the second point are connected. If the first point is used as the starting point, the second point can only be reached after passing through the target game area corresponding to the third point, then the first point and the second point are not connected. The key path points corresponding to each target game area are traversed in the above manner to obtain a road network.

[0092] like Figure 7It is a schematic diagram of a road network provided by an embodiment of the present application. Among them, point 1 can reach point 2 without passing through the target game area corresponding to other points, then point 1 and point 2 are connected; similarly, point 2 can reach point 3 without passing through the target game area corresponding to other points, then point 2 and point 3 are connected; point 3 can reach point 4 without passing through the target game area corresponding to other points, then point 3 and point 4 are connected. Point 1 cannot reach point 3 without passing through the target game area corresponding to other points, then point 1 and point 3 cannot be connected. Similarly, point 1 cannot reach point 4 without passing through the target game area corresponding to other points, then point 1 and point 4 cannot be connected; point 2 cannot reach point 4 without passing through the target game area corresponding to other points, then point 2 and point 4 cannot be connected.

[0093] In step 203, the area marks of each target game area are determined according to the position information of the first position of the first virtual object in the virtual scene.

[0094] Among them, the area mark of the target game area is used to determine the movement route of the second virtual object in the virtual scene, the second virtual object is an artificial intelligence AI virtual object in the virtual scene, and the first virtual object is a hostile virtual object of the second virtual object, for example, the second virtual object is a neutral virtual object in the game, and the first virtual object is a virtual object included in any game team participating in the game. Alternatively, the first virtual object is a teammate virtual object of the second virtual object, for example, the first virtual object and the second virtual object are virtual objects included in the same game team of the reference game. As time goes by, the position of the first virtual object in the virtual scene will change, and therefore, the area marks of each target game area will also change, so that the area marks of each target game area are not fixed, but change with the change of the position of the first virtual object in the virtual scene.

[0095] In one possible implementation, the process of determining the area marks of each target game area based on the position information of the first position of the first virtual object in the virtual scene includes: determining a first game area among multiple target game areas based on the position information of the first position, the first game area being a game area reachable by the first virtual object; and using the first mark as the area mark of the first game area.

[0096] Among them, according to the position information of the first position, the implementation methods of determining the first game area among multiple target game areas include but are not limited to the following two.

[0097] Implementation method 1: determine the key path points corresponding to each target game area to obtain multiple key path points, and the key path point corresponding to any target game area is the center point of any target game area; determine the distance between each key path point and the first position based on the position information of the first position and the position information of each key path point, and use the key path point whose distance meets the distance requirement as the first path point; determine the first game area based on the target game area corresponding to the first path point.

[0098] Optionally, the key path point whose distance meets the distance requirement is the key path point with the shortest distance. The process of determining the key path points corresponding to each target game area has been described in the above step 202, and will not be repeated here.

[0099] The process of determining the first game area according to the target game area corresponding to the first path point includes: taking the target game area corresponding to the first path point as the first game area; or determining the game area adjacent to the target game area corresponding to the first path point, and taking the target game area corresponding to the first path point and the game area adjacent to the target game area corresponding to the first path point as the first game area.

[0100] Implementation method 2: determining a first target area according to the position information of the first position; and using a target game area located in the first target area as the first game area.

[0101] Among them, according to the location information of the first position, the process of determining the first target area includes: determining the first target area with the position indicated by the location information of the first position as the center and the first reference length as the radius. Among them, the first reference length is set based on experience, or adjusted according to the implementation environment, and the embodiment of the present application is not limited to this. Exemplarily, the first reference length is 5 meters. Optionally, a second circle is determined with the position indicated by the location information of the first position as the center and the first reference length as the radius, and the area covered by the second circle is used as the first target area.

[0102] Optionally, the target game area located in the first target area refers to the target game area completely located in the first target area. If part of the target game area is located within the first target area and part of it is located outside the first target area, the target game area is not located within the first target area.

[0103] It should be noted that any of the above implementation methods can be selected to determine the first game area among multiple target game areas, and this embodiment of the present application is not limited to this.

[0104] In a possible implementation, the first mark may be any mark, which is not limited in the embodiment of the present application. For example, the first mark is to display the first game area in black. The first game area is not displayed in black in the virtual scene displayed on the player side.

[0105] like Figure 8 1 is a schematic diagram of displaying area marks of each target game area provided by an embodiment of the present application, wherein the position indicated by the arrow in the upper left corner is the first position of the first virtual object in the virtual scene. Figure 8 The area shown in black is the first game area.

[0106] In one possible implementation, a game area adjacent to the first game area in multiple target game areas can also be used as a second game area, and the second game area is a game area controllable by the first virtual object; and the second mark is used as an area mark of the second game area. Since the game area reachable by the first virtual object is a game area controllable by the first virtual object, the second game area includes the first game area. Optionally, the second mark can be any mark, as long as the second mark is different from the first mark, and this is not limited in the embodiment of the present application. Exemplarily, the second mark is to display the second game area in white. Similarly, the second game area will not be displayed in white in the virtual scene displayed on the player side. Figure 8 The area shown in white is the second game area.

[0107] Optionally, a third game area can be determined from multiple target game areas based on the second game area, where the third game area is a game area that will not be attacked by the first virtual object and can come into contact with the first virtual object; the third mark is used as the area mark of the third game area.

[0108] Wherein, according to the second game area, the process of determining the third game area in multiple target game areas includes: taking the position indicated by the position information of the path key point corresponding to the second game area as the center and the second reference length as the reference distance, determining the second target area; taking the target game area other than the second game area in the second target area as the third game area. Alternatively, determining a candidate game area among multiple target game areas, taking the target game area other than the second game area in the candidate game area as the third game area, wherein the distance between the path key point corresponding to the candidate game area and the key path point corresponding to the second game area is less than the first distance. Wherein, the first distance is set based on experience, or adjusted according to the implementation environment, and the embodiment of the present application does not limit this. For example, the first distance is 5 meters.

[0109] For example, the position indicated by the position information of the key point of the path corresponding to the second game area is used as the center of the circle, and the second reference length is used as the radius to determine the third circle, and the area covered by the third circle is used as the second target area. The second reference length is set based on experience, or adjusted according to the implementation environment, and this embodiment of the application does not limit this. For example, the second reference length is 5 meters.

[0110] The target game area located in the second target area refers to the target game area located completely in the second target area. If a part of the target game area is located in the second target area and a part is located outside the second target area, then the target game area is not located in the second target area.

[0111] Optionally, the third mark can be any mark, and the third mark can be different from the first mark and the second mark, and the embodiment of the present application does not limit this. Exemplarily, the third mark is to display the third game area in gray. Similarly, the third game area will not be displayed in gray in the virtual scene displayed on the player side. Figure 8 The area shown in grey is the third game area.

[0112] In a possible implementation, the target game area adjacent to the third game area, excluding the second game area and the third game area, can also be used as the fourth game area, and the fourth game area is a game area that will not be attacked by the first virtual object and will not come into contact with the first virtual object; and the fourth mark is used as the area mark of the fourth game area. The fourth mark can be any mark, and the fourth mark can be different from the first mark, the second mark, and the third mark, which is not limited in the embodiment of the present application. Exemplarily, the fourth mark is to display the fourth game area in the form of a white background with oblique lines and shadows. Similarly, the fourth game area will not be displayed in the form of a white background with oblique lines and shadows in the virtual scene displayed on the player side. For example Figure 8 The area shown in the form of white background and oblique line shadow is the fourth game area.

[0113] Optionally, the position information of the second position of the second virtual object in the virtual scene can also be obtained; the third target area is determined with the position indicated by the position information of the second position as the center and the third reference length as the reference distance, and the target game area located in the third target area except the second game area and the third game area is used as the fifth game area, and the fifth game area is a game area in which the second virtual object can be hidden; the fifth mark is used as the area mark of the fifth game area.

[0114] Exemplarily, a fourth circle is determined with the position indicated by the position information of the second position as the center and the third reference length as the radius, and the area covered by the fourth circle is used as the third target area.

[0115] Alternatively, the second path point is determined based on the position information of the key path point corresponding to each target game area and the position information of the second position, and the distance between the second path point and the second position is the shortest; a fourth circle is determined with the position indicated by the position information of the second path point as the center and the third reference length as the radius, and the area covered by the fourth circle is used as the third target area. Alternatively, the distance between the key path point corresponding to each target game area and the second position is determined based on the position information of the key path point corresponding to each target game area and the position information of the second position, and the target game area corresponding to the key path point whose distance from the second position is less than the second distance is used as the reference game area.

[0116] The third reference length and the second distance are both set based on experience or adjusted according to the implementation environment, which is not limited in the present embodiment. For example, the third reference length is 15 meters and the second distance is 15 meters.

[0117] Optionally, the fifth mark can be any mark, and the fifth mark can be different from the first mark, the second mark, the third mark, and the fourth mark, and the embodiment of the present application does not limit this. Exemplarily, the fifth mark is to display the fifth game area in the form of gray background and diagonal line shadow. Similarly, the fifth game area will not be displayed in the form of gray background and diagonal line shadow in the virtual scene displayed on the player side. Figure 8 The position pointed by the arrow in the lower right corner of is the second position of the second virtual object in the virtual scene. Figure 8 The area shown in gray with diagonal lines is the fifth game area.

[0118] In a possible implementation, after the terminal device determines the area mark of each target game area, the area mark of each target game area is stored in the storage space of the terminal device, so as to subsequently plan a moving route for the second virtual object according to the area mark of each target game area.

[0119] It should be noted that when the position of the first virtual object and / or the second virtual object in the virtual scene changes, it is necessary to redetermine the area mark of each target game area based on the position information of the position of the first virtual object and / or the second virtual object after the change in the virtual scene. The process of redetermining the area mark of each target game area based on the position information of the position of the first virtual object and / or the second virtual object after the change in the virtual scene is similar to the process of determining the area mark of each target game area based on the position information of the first position of the first virtual object in the virtual scene, and will not be repeated here. When the area mark of the target game area changes, the area mark of the target game area after the change is stored in the storage space of the terminal device.

[0120] In one possible implementation, the process of planning a moving route for the second virtual object based on the area marks of each target game area includes: determining a navigation game area among multiple target game areas; determining a target moving route, wherein the starting position of the target moving route is the second position of the second virtual object in the virtual scene, and the ending position is a key path point corresponding to the navigation game area.

[0121] After the target moving route is planned, the second virtual object is controlled to move from the second position to the key path point corresponding to the navigation game area according to the target moving route.

[0122] Optionally, the process of determining the navigation game area among the multiple target game areas includes: determining a seventh game area among the multiple target game areas according to the position information of the second position of the second virtual object in the virtual scene, the seventh game area being the target game area included in the moving range of the second virtual object. Determining the navigation game area among the multiple seventh game areas.

[0123] Among them, according to the position information of the second position of the second virtual object in the virtual scene, the process of determining the seventh game area in multiple target game areas includes: taking the position indicated by the position information of the second position of the second virtual object in the virtual scene as the center of the circle and the target length as the radius, determining the target circle, and taking the target game area included in the area covered by the target circle as the seventh game area. Optionally, the target length is set based on experience or adjusted according to the implementation environment, which is not limited in the embodiment of the present application. Exemplarily, the target length is 20 meters.

[0124] The process of determining the navigation game area in multiple seventh game areas includes: using any seventh game area in the multiple seventh game areas as the navigation game area. Alternatively, obtaining the object type of the second virtual object, the object type of the second virtual object is used to indicate the aggressiveness of the behavior of the second virtual object; determining the area mark of each seventh game area; determining the eighth game area matching the object type of the second virtual object in the multiple seventh game areas, and using any eighth game area as the navigation game area. The navigation game area can also be determined in other ways, which are not limited in the embodiments of the present application.

[0125] For example, if the object type of the second virtual object is auxiliary, the seventh game area with the area marked as the first mark in the seventh game area is used as the eighth game area. Alternatively, if the object type of the second virtual object is shooter, the seventh game area with the area marked as the third mark in the seventh game area is used as the eighth game area.

[0126] In a possible implementation, the process of determining the target moving route includes: determining a candidate moving route from the second position to a key path point corresponding to the navigation game area. Based on the candidate moving route being one, the candidate moving route is used as the target moving route. Based on the candidate moving routes being multiple, route information corresponding to each candidate moving route is determined, and a candidate moving route whose corresponding route information meets the information requirement among the multiple candidate moving routes is used as the target moving route.

[0127] Based on the route information including the route distance, a candidate moving route whose corresponding route distance meets the distance requirement among the multiple candidate moving routes is used as the target moving route. The candidate moving route whose route distance meets the distance requirement may be the candidate moving route with the longest route distance or the candidate moving route with the shortest route distance, which is not limited in the embodiments of the present application.

[0128] Based on the route information including the number of target game areas marked as the second mark in the area passed by the route, a candidate moving route in which the number of target game areas marked as the second mark in the area passed by the corresponding route among the multiple candidate moving routes meets the quantity requirement is used as the target moving route. Among them, the candidate moving route in which the number of target game areas marked as the second mark in the area passed by the route meets the quantity requirement can be the candidate moving route in which the number of target game areas marked as the second mark in the area passed by the route is the least, or it can be the candidate moving route in which the number of target game areas marked as the second mark in the area passed by the route is the greatest, and the embodiments of the present application do not limit this.

[0129] like Fig. 9 is a schematic diagram of multiple candidate movement routes provided by an embodiment of the present application. Among them, the black dotted line in (1) is a candidate movement route, the black dotted line in (2) is a candidate movement route, and the black dotted line in (3) is a candidate movement route. Since the candidate movement route in (3) is the shortest, the candidate movement route in (3) is used as the target movement route.

[0130] The above method associates the area mark corresponding to the target game area with the position information of the first position of the first virtual object in the virtual scene. As the first virtual object moves in the virtual scene, the area mark corresponding to the target game area will also change, so that the area mark corresponding to the target game area is not fixed, and the determination of the area mark corresponding to the target game area is more flexible. Since the area mark corresponding to the target game area is used to determine the moving route of the second virtual object in the virtual scene, when the area mark corresponding to the target game area keeps changing, the moving route of the second virtual object in the virtual scene will also change, so that the repetition rate of the moving route of the second virtual object in the virtual scene is low, thereby improving the fun of the game and increasing the attractiveness of the game to players.

[0131] Furthermore, there is no need to manually mark the area marks of each target game area in turn, which reduces the workload of marking the game area and improves the flexibility and efficiency of area marking.

[0132] Fig.10 FIG. 1 is a schematic diagram of a structure of a marking device for a game area provided in an embodiment of the present application. Fig.10 As shown, the device comprises:

[0133] An acquisition module 1001 is used to acquire multiple initial game areas included in the virtual scene and area information of each initial game area, where the area information of any initial game area is used to indicate the traffic status of any initial game area;

[0134] An acquisition module 1001 is used to acquire multiple target game areas according to the area information of each initial game area, where the target game area is a passable game area;

[0135] The determination module 1002 is used to determine the area marks of each target game area according to the position information of the first position of the first virtual object in the virtual scene. The area marks of the target game area are used to determine the movement route of the second virtual object in the virtual scene. The second virtual object is an artificial intelligence AI virtual object in the virtual scene.

[0136] In a possible implementation, the determination module 1002 is used to determine a first game area among multiple target game areas based on the position information of the first position, where the first game area is a game area reachable by the first virtual object; and use the first mark as an area mark of the first game area.

[0137] In one possible implementation, the determination module 1002 is used to determine the key path points corresponding to each target game area, and obtain multiple key path points, wherein the key path point corresponding to any target game area is the center point of any target game area; the distance between each key path point and the first position is determined based on the position information of the first position and the position information of each key path point; the key path point whose distance meets the distance requirement is used as the first path point; and the first game area is determined based on the target game area corresponding to the first path point.

[0138] In one possible implementation, determination module 1002 is used to take the target game area corresponding to the first path point as the first game area; or, determine the game area adjacent to the target game area corresponding to the first path point, and take the target game area corresponding to the first path point and the game area adjacent to the target game area corresponding to the first path point as the first game area.

[0139] In a possible implementation, the determination module 1002 is used to determine a first target area with the position indicated by the position information of the first position as the center and the first reference length as the reference distance; and use the target game area located in the first target area as the first game area.

[0140] In a possible implementation, the determination module 1002 is further used to use a game area adjacent to the first game area among the multiple target game areas as a second game area, where the second game area is a game area controllable by the first virtual object; and use the second mark as an area mark of the second game area.

[0141] In one possible implementation, the determination module 1002 is further used to determine a third game area in multiple target game areas based on the second game area, where the third game area is a game area that will not be attacked by the first virtual object and can come into contact with the first virtual object; and the third mark is used as the area mark of the third game area.

[0142] In one possible implementation, the determination module 1002 is used to determine the second target area with the position indicated by the position information of the key path point corresponding to the second game area as the center and the second reference length as the reference distance; the target game area located in the second target area other than the second game area is used as the third game area; or, determine a candidate game area among multiple target game areas, and the distance between the key path point corresponding to the candidate game area and the key path point corresponding to the second game area is less than the first distance; the target game area in the candidate game area other than the second game area is used as the third game area.

[0143] In one possible implementation, the determination module 1002 is further used to use the target game area adjacent to the third game area, excluding the second game area and the third game area, as a fourth game area, where the fourth game area is a game area that will not be attacked by the first virtual object and will not come into contact with the first virtual object; and use the fourth mark as the area mark of the fourth game area.

[0144] In a possible implementation, the acquisition module 1001 is further used to acquire position information of a second position of the second virtual object in the virtual scene;

[0145] The determination module 1002 is also used to determine the third target area with the position indicated by the position information of the second position as the center and the third reference length as the reference distance; the target game area located in the third target area except the second game area and the third game area is used as the fifth game area, and the fifth game area is a game area where the second virtual object can be hidden; and the fifth mark is used as the area mark of the fifth game area.

[0146] In a possible implementation, the determination module 1002 is further used to determine a navigation game area among multiple target game areas; determine a target movement route, where the starting position of the target movement route is the second position of the second virtual object in the virtual scene, and the ending position is a key path point corresponding to the navigation game area;

[0147] The device also includes:

[0148] The control module is used to control the second virtual object to move from the second position to the key path point corresponding to the navigation game area according to the target movement route.

[0149] In one possible implementation, the determination module 1002 is used to determine multiple candidate movement routes from the second position to the key path points corresponding to the navigation game area; determine the route information corresponding to each candidate movement route; and use the candidate movement route whose corresponding route information meets the information requirements among the multiple candidate movement routes as the target movement route.

[0150] In one possible implementation, the determination module 1002 is used to, based on the route information including the route distance, select a candidate moving route whose corresponding route distance among multiple candidate moving routes meets the distance requirement as a target moving route; based on the route information including the number of target game areas through which the route passes is marked as a second mark, select a candidate moving route whose corresponding route distance among multiple candidate moving routes meets the number requirement as a target moving route.

[0151] In one possible implementation, the acquisition module 1001 is used to determine multiple sixth game areas in multiple initial game areas based on the area information of each initial game area, and the sixth game area is a passable game area; the sixth game area is used as the target game area; or, multiple sixth game areas are merged to obtain multiple target game areas.

[0152] In one possible implementation, the acquisition module 1001 is used to determine, for a first target game area and a second target game area in a plurality of sixth game areas, a first reference area based on the position information of a key path point corresponding to the first target game area, the first reference area being the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; taking the sixth game area located in the first reference area as the first area; determining, based on the position information of the key path point corresponding to the second target game area, a second reference area being the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area. The casting range of the first skill of the elephant; the sixth game area located in the second reference area is taken as the second area; the first value of the sixth game area included in the first area and the sixth game area repeated in the sixth game area included in the second area is determined; the first quotient between the first value and the second value is determined, and the second quotient between the first value and the third value is determined, the second value is the number of the sixth game areas included in the first area, and the third value is the number of the sixth game areas included in the second area; based on the first quotient being greater than the target threshold and the second quotient being greater than the target threshold, the first target game area and the second target game area are merged; according to the above steps, the sixth game area is traversed to obtain multiple target game areas.

[0153] In a possible implementation, the acquisition module 1001 is further used to determine a third reference area according to the position information of the key path point corresponding to the first target game area, the third reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; taking the sixth game area located in the third reference area as the third area, the second skill and the first skill are different; determining a fourth reference area according to the position information of the key path point corresponding to the second target game area, the fourth reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area; taking the sixth game area located in the fourth reference area as the fourth area; determining a fourth value of the sixth game area repeated in the sixth game area included in the third area and the sixth game area included in the fourth area; determining a third quotient between the fourth value and the fifth value, determining a fourth quotient between the fourth value and the sixth value, the fifth value being the number of the sixth game areas included in the third area, and the sixth value being the number of the sixth game areas included in the fourth area; merging the first target game area and the second target game area based on the first quotient being greater than the target threshold, the second quotient being greater than the target threshold, the third quotient being greater than the target threshold, and the fourth quotient being greater than the target threshold.

[0154] The above device associates the area mark corresponding to the target game area with the position information of the first position of the first virtual object in the virtual scene. As the first virtual object moves in the virtual scene, the area mark corresponding to the target game area will also change, so that the area mark corresponding to the target game area is not fixed, and the determination of the area mark corresponding to the target game area is more flexible. Since the area mark corresponding to the target game area is used to determine the moving route of the second virtual object in the virtual scene, when the area mark corresponding to the target game area keeps changing, the moving route of the second virtual object in the virtual scene will also change, so that the repetition rate of the moving route of the second virtual object in the virtual scene is low, thereby improving the fun of the game and increasing the attractiveness of the game to players.

[0155] Furthermore, there is no need to manually mark the area marks of each target game area in turn, which reduces the workload of marking the game area and improves the flexibility and efficiency of area marking.

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

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

[0158] Typically, the terminal device 1100 includes: a processor 1101 and a memory 1102 .

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

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

[0161] In some embodiments, the terminal device 1100 may further optionally include: a peripheral device interface 1103 and at least one peripheral device. The processor 1101, the memory 1102 and the peripheral device interface 1103 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1103 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1104, a display screen 1105, a camera assembly 1106, an audio circuit 1107 and a power supply 1109.

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

[0163] The radio frequency circuit 1104 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1104 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1104 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The radio frequency circuit 1104 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1104 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

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

[0165] The camera assembly 1106 is used to capture images or videos. Optionally, the camera assembly 1106 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1100, and the rear camera is arranged on the back of the terminal device 1100. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

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

[0167] The power supply 1109 is used to power various components in the terminal device 1100. The power supply 1109 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1109 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 charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0168] In some embodiments, the terminal device 1100 further includes one or more sensors 1110 , including but not limited to: an acceleration sensor 1111 , a gyroscope sensor 1112 , a pressure sensor 1113 , an optical sensor 1115 , and a proximity sensor 1116 .

[0169] The acceleration sensor 1111 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal device 1100. For example, the acceleration sensor 1111 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1101 can control the display screen 1105 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1111. The acceleration sensor 1111 can also be used to collect game or user motion data.

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

[0171] The pressure sensor 1113 can be set on the side frame of the terminal device 1100 and / or the lower layer of the display screen 1105. When the pressure sensor 1113 is set on the side frame of the terminal device 1100, the user's holding signal of the terminal device 1100 can be detected, and the processor 1101 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 1113. When the pressure sensor 1113 is set on the lower layer of the display screen 1105, the processor 1101 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1105. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0172] The optical sensor 1115 is used to collect the ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the display screen 1105 according to the ambient light intensity collected by the optical sensor 1115. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the display screen 1105 is reduced. In another embodiment, the processor 1101 can also dynamically adjust the shooting parameters of the camera assembly 1106 according to the ambient light intensity collected by the optical sensor 1115.

[0173] The proximity sensor 1116, also known as a distance sensor, is usually arranged on the front panel of the terminal device 1100. The proximity sensor 1116 is used to collect the distance between the user and the front of the terminal device 1100. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front of the terminal device 1100 is gradually decreasing, the processor 1101 controls the display screen 1105 to switch from the screen-on state to the screen-off state; when the proximity sensor 1116 detects that the distance between the user and the front of the terminal device 1100 is gradually increasing, the processor 1101 controls the display screen 1105 to switch from the screen-off state to the screen-on state.

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

[0175] Fig.12 The schematic diagram of the structure of the server provided in the embodiment of the present application, the server 1200 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1201 and one or more memories 1202, wherein the one or more memories 1202 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1201 to implement the marking method of the game area provided by the above-mentioned various method embodiments. Of course, the server 1200 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server 1200 may also include other components for implementing device functions, which will not be repeated here.

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

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

[0178] In an exemplary embodiment, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any of the above-mentioned methods for marking a game area.

[0179] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the virtual scenes involved in this application are all obtained with full authorization.

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

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

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

Claims

1. A method for marking a game area, characterized in that: The method comprises: Acquire multiple initial game areas included in the virtual scene and area information of each initial game area, wherein the area information of any initial game area is used to indicate the traffic condition of the initial game area; According to the area information of each initial game area, a plurality of target game areas are obtained, wherein the target game areas are passable game areas; Determining area marks of each target game area according to position information of a first position of the first virtual object in the virtual scene; According to the position information of the second position of the second virtual object in the virtual scene, determining the target game area included in the moving range of the second virtual object in the multiple target game areas, where the second virtual object is an artificial intelligence AI virtual object in the virtual scene; Determine a navigation game area according to an area mark of a target game area included in the moving range of the second virtual object; A target moving route is determined, wherein the starting position of the target moving route is the second position and the ending position is a key path point corresponding to the navigation game area.

2. The method according to claim 1, characterized in that The step of determining the area marks of each target game area according to the position information of the first position of the first virtual object in the virtual scene includes: Determine a first game area among the multiple target game areas according to the position information of the first position, where the first game area is a game area that the first virtual object can reach; The first mark is used as an area mark of the first game area.

3. The method according to claim 2, characterized in that The determining the first game area among the multiple target game areas according to the position information of the first position includes: Determine the key path points corresponding to each target game area to obtain a plurality of key path points, wherein the key path point corresponding to any target game area is the center point of any target game area; Determine the distance between each key path point and the first position according to the position information of the first position and the position information of each key path point; The key path point whose distance meets the distance requirement is taken as the first path point; The first game area is determined according to the target game area corresponding to the first path point.

4. The method according to claim 3, characterized in that The determining the first game area according to the target game area corresponding to the first path point includes: Using the target game area corresponding to the first path point as the first game area; Alternatively, a game area adjacent to a target game area corresponding to the first path point is determined, and the target game area corresponding to the first path point and a game area adjacent to the target game area corresponding to the first path point are used as the first game area.

5. The method according to claim 2, characterized in that: The determining the first game area among the multiple target game areas according to the position information of the first position includes: Determine a first target area with the position indicated by the position information of the first position as the center and the first reference length as the reference distance; A target game area located in the first target area is used as the first game area.

6. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: Using a game area adjacent to the first game area in the plurality of target game areas as a second game area, where the second game area is a game area controllable by the first virtual object; The second marker is used as an area marker for the second game area.

7. The method according to claim 6, characterized in that The method further comprises: Determine a third game area among the plurality of target game areas according to the second game area, the third game area being a game area that will not be attacked by the first virtual object and can come into contact with the first virtual object; The third mark is used as the area mark of the third game area.

8. The method according to claim 7, characterized in that The step of determining a third game area among the plurality of target game areas according to the second game area comprises: Determine a second target area with the position indicated by the position information of the key path point corresponding to the second game area as the center and the second reference length as the reference distance; and use the target game area located in the second target area except the second game area as the third game area; Alternatively, a candidate game area is determined among the multiple target game areas, and the distance between the key path point corresponding to the candidate game area and the key path point corresponding to the second game area is less than the first distance; and the target game area among the candidate game areas except the second game area is used as the third game area.

9. The method according to claim 7, characterized in that: The method further comprises: The target game area adjacent to the third game area, except the second game area and the third game area, is used as a fourth game area, wherein the fourth game area is a game area that will not be attacked by the first virtual object and will not come into contact with the first virtual object; The fourth marker is used as an area marker of the fourth game area.

10. The method according to claim 9, characterized in that The method further comprises: Acquire position information of a second position of the second virtual object in the virtual scene; Determine a third target area with the position indicated by the position information of the second position as the center and the third reference length as the reference distance; The target game area other than the second game area and the third game area in the third target area is used as a fifth game area, wherein the fifth game area is a game area in which the second virtual object can be hidden; The fifth marker is used as the area marker of the fifth game area.

11. The method according to any one of claims 1 to 5 and 7 to 10, characterized in that: After determining the target moving route, the method further includes: According to the target movement route, the second virtual object is controlled to move from the second position to a key path point corresponding to the navigation game area.

12. The method according to claim 1, characterized in that Determining the target moving route includes: determining a plurality of candidate movement routes from the second location to key path points corresponding to the navigation game area; Determine route information corresponding to each candidate moving route; The candidate movement routes whose corresponding route information meets the information requirement are used as the target movement routes.

13. The method according to claim 12, characterized in that The step of taking the candidate movement route whose corresponding route information meets the information requirement among the plurality of candidate movement routes as the target movement route comprises: Based on the route information including the route distance, taking a candidate moving route whose corresponding route distance meets the distance requirement among the plurality of candidate moving routes as the target moving route; Based on the route information including the number of target game areas marked as second marks, the candidate moving routes whose corresponding routes pass through the multiple candidate moving routes and the number of target game areas marked as second marks that meet the quantity requirement are taken as the target moving routes.

14. The method according to any one of claims 1 to 5 and 7 to 10, characterized in that: The step of obtaining a plurality of target game areas according to the area information of each initial game area includes: Determine a plurality of sixth game areas in the plurality of initial game areas according to the area information of each initial game area, wherein the sixth game areas are passable game areas; The sixth game area is used as the target game area; or, the multiple sixth game areas are merged to obtain multiple target game areas.

15. The method according to claim 14, characterized in that The merging of the plurality of sixth game areas to obtain a plurality of target game areas includes: For a first target game area and a second target game area among the plurality of sixth game areas, determining a first reference area according to position information of a key path point corresponding to the first target game area, the first reference area being a casting range of a first skill of the second virtual object when the second virtual object is located at a key path point corresponding to the first target game area; and taking the sixth game area located in the first reference area as the first area; Determine a second reference area according to the position information of the key path point corresponding to the second target game area, where the second reference area is a casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area; and use the sixth game area located in the second reference area as the second area; Determine a first value of a sixth game area that is repeated in a sixth game area included in the first area and in the sixth game area included in the second area; Determine a first quotient between the first value and a second value, and determine a second quotient between the first value and a third value, wherein the second value is the number of sixth game areas included in the first area, and the third value is the number of sixth game areas included in the second area; Based on the first quotient being greater than a target threshold, and the second quotient being greater than the target threshold, merging the first target game area and the second target game area; According to the above steps, the sixth game area is traversed to obtain the multiple target game areas.

16. The method according to claim 15, characterized in that The method further comprises: Determine a third reference area according to the position information of the key path point corresponding to the first target game area, the third reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; use a sixth game area located in the third reference area as the third area, and the second skill is different from the first skill; Determine a fourth reference area according to the position information of the key path point corresponding to the second target game area, wherein the fourth reference area is a casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area; and use a sixth game area located in the fourth reference area as the fourth area; Determine a fourth value of a sixth game area that is repeated in a sixth game area included in the third area and in a sixth game area included in the fourth area; Determine a third quotient between the fourth value and a fifth value, and determine a fourth quotient between the fourth value and a sixth value, wherein the fifth value is the number of sixth game areas included in the third area, and the sixth value is the number of sixth game areas included in the fourth area; The merging the first target game area and the second target game area based on the first quotient being greater than a target threshold and the second quotient being greater than the target threshold comprises: Based on the first quotient being greater than a target threshold, the second quotient being greater than the target threshold, the third quotient being greater than the target threshold, and the fourth quotient being greater than the target threshold, the first target game area and the second target game area are merged.

17. A marking device for a game area, characterized in that: The device comprises: An acquisition module, used to acquire multiple initial game areas included in the virtual scene and area information of each initial game area, wherein the area information of any initial game area is used to indicate the traffic status of any initial game area; The acquisition module is further used to acquire multiple target game areas according to the area information of each initial game area, wherein the target game areas are passable game areas; A determination module, configured to determine area marks of each target game area according to position information of a first position of a first virtual object in the virtual scene; The determination module is further used to determine, according to position information of a second position of the second virtual object in the virtual scene, a target game area included in the moving range of the second virtual object in the multiple target game areas, wherein the second virtual object is an artificial intelligence AI virtual object in the virtual scene; The determination module is further used to determine the navigation game area according to the area mark of the target game area included in the moving range of the second virtual object; The determination module is further used to determine a target moving route, wherein the starting position of the target moving route is the second position and the ending position is a key path point corresponding to the navigation game area.

18. The device according to claim 17, characterized in that The determining module is used to determine a first game area among the multiple target game areas according to the position information of the first position, where the first game area is a game area that the first virtual object can reach; The first mark is used as an area mark of the first game area.

19. The device according to claim 18, characterized in that The determination module is used to determine the key path points corresponding to the respective target game areas, and obtain a plurality of key path points, wherein the key path point corresponding to any target game area is the center point of any target game area; determine the distance between each key path point and the first position according to the position information of the first position and the position information of each key path point; and use the key path point whose distance meets the distance requirement as the first path point; The first game area is determined according to the target game area corresponding to the first path point.

20. The device according to claim 19, characterized in that The determination module is used to use the target game area corresponding to the first path point as the first game area; or to determine the game area adjacent to the target game area corresponding to the first path point, and use the target game area corresponding to the first path point and the game area adjacent to the target game area corresponding to the first path point as the first game area.

21. The device according to claim 18, characterized in that The determination module is used to determine a first target area with the position indicated by the position information of the first position as the center and the first reference length as the reference distance; A target game area located in the first target area is used as the first game area.

22. The device according to any one of claims 18 to 21, characterized in that The determination module is further configured to use a game area adjacent to the first game area in the plurality of target game areas as a second game area, where the second game area is a game area controllable by the first virtual object; The second marker is used as an area marker for the second game area.

23. The device according to claim 22, characterized in that The determination module is further configured to determine a third game area in the plurality of target game areas according to the second game area, wherein the third game area is a game area that will not be attacked by the first virtual object and can come into contact with the first virtual object; The third mark is used as the area mark of the third game area.

24. The device according to claim 23, characterized in that The determination module is used to determine the second target area with the position indicated by the position information of the key path point corresponding to the second game area as the center and the second reference length as the reference distance; and to use the target game area located in the second target area except the second game area as the third game area; Alternatively, a candidate game area is determined among the multiple target game areas, and the distance between the key path point corresponding to the candidate game area and the key path point corresponding to the second game area is less than the first distance; and the target game area among the candidate game areas except the second game area is used as the third game area.

25. The device according to claim 23, characterized in that The determination module is further used to use the target game area adjacent to the third game area, excluding the second game area and the third game area, as a fourth game area, wherein the fourth game area is a game area that will not be attacked by the first virtual object and will not come into contact with the first virtual object; and use a fourth mark as an area mark of the fourth game area.

26. The device according to claim 25, characterized in that The acquisition module is further used to acquire position information of a second position of the second virtual object in the virtual scene; The determination module is further used to determine a third target area with the position indicated by the position information of the second position as the center and the third reference length as the reference distance; to use the target game area located in the third target area except the second game area and the third game area as the fifth game area, and the fifth game area is a game area in which the second virtual object can be hidden; and to use the fifth mark as the area mark of the fifth game area.

27. The device according to any one of claims 17 to 21, 23 to 26, characterized in that The device also includes: The control module is used to control the second virtual object to move from the second position to a key path point corresponding to the navigation game area according to the target movement route.

28. The device according to claim 17, characterized in that The determination module is used to determine a plurality of candidate movement routes from the second position to the key path point corresponding to the navigation game area; and determine the route information corresponding to each candidate movement route; The candidate movement routes whose corresponding route information meets the information requirement are used as the target movement routes.

29. The device according to claim 28, characterized in that The determining module is configured to select, based on the route information including the route distance, a candidate moving route whose corresponding route distance among the plurality of candidate moving routes meets the distance requirement as the target moving route; Based on the route information including the number of target game areas marked as second marks, the candidate moving routes whose corresponding routes pass through the multiple candidate moving routes and the number of target game areas marked as second marks that meet the quantity requirement are taken as the target moving routes.

30. The device according to any one of claims 17 to 21, 23 to 26, characterized in that The acquisition module is used to determine a plurality of sixth game areas in the plurality of initial game areas according to the area information of each initial game area, wherein the sixth game areas are passable game areas; Using the sixth game area as the target game area; Alternatively, the multiple sixth game areas are merged to obtain multiple target game areas.

31. The device according to claim 30, characterized in that The acquisition module is used to determine, for a first target game area and a second target game area among the plurality of sixth game areas, a first reference area according to position information of a key path point corresponding to the first target game area, wherein the first reference area is a casting range of a first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; and the sixth game area located in the first reference area is used as the first area; Determine a second reference area according to the position information of the key path point corresponding to the second target game area, the second reference area being the casting range of the first skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second target game area; take the sixth game area located in the second reference area as the second area; determine the first value of the sixth game area included in the first area and the sixth game area repeated in the sixth game area included in the second area; determine a first quotient between the first value and the second value, and determine a second quotient between the first value and the third value, the second value being the number of the sixth game areas included in the first area, and the third value being the number of the sixth game areas included in the second area; merge the first target game area and the second target game area based on the first quotient being greater than the target threshold and the second quotient being greater than the target threshold; According to the above steps, the sixth game area is traversed to obtain the multiple target game areas.

32. The device according to claim 31, characterized in that The acquisition module is further used to determine a third reference area according to the position information of the key path point corresponding to the first target game area, the third reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the first target game area; taking the sixth game area located in the third reference area as the third area, and the second skill is different from the first skill; determining a fourth reference area according to the position information of the key path point corresponding to the second target game area, the fourth reference area being the casting range of the second skill of the second virtual object when the second virtual object is located at the key path point corresponding to the second ... The sixth game area of ​​the fourth reference area is taken as the fourth area; a fourth numerical value of the sixth game area included in the third area and the sixth game area repeated in the sixth game area included in the fourth area is determined; a third quotient between the fourth numerical value and the fifth numerical value is determined, and a fourth quotient between the fourth numerical value and the sixth numerical value is determined, the fifth numerical value is the number of sixth game areas included in the third area, and the sixth numerical value is the number of sixth game areas included in the fourth area; based on the first quotient being greater than the target threshold, the second quotient being greater than the target threshold, the third quotient being greater than the target threshold, and the fourth quotient being greater than the target threshold, the first target game area and the second target game area are merged.

33. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor so that the computer device implements the game area marking method according to any one of claims 1 to 16.

34. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to enable the computer device to implement the method for marking the game area according to any one of claims 1 to 16.

35. A computer program product, characterized in that The computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor so that a computer device implements the method for marking a game area as described in any one of claims 1 to 16.