Data processing methods, apparatus, computer equipment and storage media

By defining and displaying the area where objects are allowed to be released in a hexagonal grid game, players can accurately release controlled objects, solving the problem of skill release areas not being displayed, improving user experience and reducing computational complexity.

CN114082173BActive Publication Date: 2025-10-31广州三七极耀网络科技有限公司
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111241521.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2025-10-31
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

In hexagonal grid-based games, the skill release area is not displayed on the interface, making it difficult for players to know where specific skills can be released, resulting in complex calculations and a poor user experience.

Method used

By responding to the operation of the controlled object, the object action conditions matching the object type are obtained, the area where the object is allowed to be released is determined, and the area is displayed in the virtual scene. Touch operations are received to release the controlled object. The object's allowed release area is composed of a hexagonal mesh, which reduces the amount of computation.

Benefits of technology

This allows players to precisely select and release the position of controlled objects, improving the user experience and reducing computational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114082173B_ABST
    Figure CN114082173B_ABST
Patent Text Reader

Abstract

This application relates to a data processing method, apparatus, computer device, and storage medium. The method includes: in response to an operation on a control corresponding to a controlled object in a virtual scene, obtaining the object type corresponding to the controlled object; obtaining object action conditions matching the object type; determining an object-allowed release area based on the object action conditions, the object-allowed release area including the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid; displaying the object-allowed release area in the virtual scene; receiving a touch operation on any candidate hexagonal grid within the object-allowed release area; determining a target object release area based on the hexagonal grid where the touch operation is located and the object action conditions; and controlling the controlled object to release within the target object release area. This method can reduce computational load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data processing method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the rapid development of computers, hexagonal grid games have emerged. In these games, the game map is presented as a hexagonal grid. Currently, players control virtual objects to perform various operations. For example, when a player controls a virtual object to release a skill, the skill's release area is currently marked by a circle. The area within the circle indicates where the skill can be released. Representing the release area with circles involves a large amount of coordinate calculation, which is complex and computationally intensive. Furthermore, in current hexagonal grid games, the release area of ​​skills is not displayed on the interface, leaving players unaware of where skills can be released, resulting in a poor user experience. Summary of the Invention

[0003] Based on this, it is necessary to provide a data processing method, apparatus, computer equipment, and storage medium to address the aforementioned technical problems. This provides an object release area composed of a hexagonal mesh, which enables precise release of controlled objects within this area. Furthermore, the hexagonal mesh has corresponding storage units on the backend server, eliminating the need for complex calculations and thus reducing computational load.

[0004] A data processing method, the method comprising:

[0005] In response to operations on controls corresponding to controlled objects in a virtual scene, obtain the object type corresponding to the controlled object;

[0006] Obtain the object action conditions that match the object type, and determine the area where the object is allowed to be released based on the object action conditions. The area where the object is allowed to be released includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0007] Display the area where objects are allowed to be released in a virtual scene, and receive touch operations on any candidate hexagonal grid within the area where objects are allowed to be released;

[0008] The target object release area is determined based on the hexagonal grid where the touch operation is located and the object's action conditions, and the controlled object is controlled to release within the target object release area.

[0009] In one embodiment, the data processing method further includes: obtaining the candidate object type corresponding to the candidate object, determining the matching candidate object action condition based on the candidate object type, and establishing an association between the candidate object type and the candidate object action condition, wherein the association is used to find the object action condition that matches the object type of the controlled object.

[0010] In one embodiment, determining the area where an object is allowed to be released based on the object action condition includes: obtaining the object action distance corresponding to the object action condition; determining candidate hexagonal grids that match the object action distance, starting from at least one edge or at least one point of the current hexagonal grid; and the current hexagonal grid and the candidate hexagonal grids constitute the area where the object is allowed to be released.

[0011] In one embodiment, the object release area is a gridded area consisting of at least one hexagonal grid of the same size, wherein the hexagonal grids are laid flat across the entire object release area without gaps between them and without overlapping each other, and the hexagonal grid is one of a hexagonal grid with the corners facing up and a hexagonal grid with the edges facing up.

[0012] In one embodiment, determining the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions includes: determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the object's allowed release area based on the object action conditions, and forming the target object release area.

[0013] In one embodiment, determining the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions includes: determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the object's allowed release area based on the object action conditions, forming an intermediate object release area, and mapping the intermediate object release area onto the target object release area corresponding to the virtual object in the virtual scene.

[0014] In one embodiment, the controlled object is one of the skills used by the virtual object or the virtual resources used by the virtual object.

[0015] A data processing apparatus, the apparatus comprising:

[0016] The response module is used to respond to operations on the controls corresponding to the controlled objects in the virtual scene and to obtain the object type corresponding to the controlled objects.

[0017] The acquisition module is used to acquire the object action conditions that match the object type, and determine the area where the object is allowed to be released based on the object action conditions. The area where the object is allowed to be released includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0018] The display module is used to display the area where objects are allowed to be released in a virtual scene and to receive touch operations on any candidate hexagonal grid within the area where objects are allowed to be released.

[0019] The control module is used to determine the target object release area based on the hexagonal grid where the touch operation is located and the object's action conditions, and to control the controlled object to release within the target object release area.

[0020] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, performs the following steps:

[0021] In response to operations on controls corresponding to controlled objects in a virtual scene, obtain the object type corresponding to the controlled object;

[0022] Obtain the object action conditions that match the object type, and determine the area where the object is allowed to be released based on the object action conditions. The area where the object is allowed to be released includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0023] Display the area where objects are allowed to be released in a virtual scene, and receive touch operations on any candidate hexagonal grid within the area where objects are allowed to be released;

[0024] The target object release area is determined based on the hexagonal grid where the touch operation is located and the object's action conditions, and the controlled object is controlled to release within the target object release area.

[0025] A computer-readable storage medium having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0026] In response to operations on controls corresponding to controlled objects in a virtual scene, obtain the object type corresponding to the controlled object;

[0027] Obtain the object action conditions that match the object type, and determine the area where the object is allowed to be released based on the object action conditions. The area where the object is allowed to be released includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0028] Display the area where objects are allowed to be released in a virtual scene, and receive touch operations on any candidate hexagonal grid within the area where objects are allowed to be released;

[0029] The target object release area is determined based on the hexagonal grid where the touch operation is located and the object's action conditions, and the controlled object is controlled to release within the target object release area.

[0030] The aforementioned data processing method, apparatus, computer equipment, and storage medium, in response to operations on controls corresponding to controlled objects in a virtual scene, obtain the object type corresponding to the controlled object, obtain object action conditions matching the object type, determine the object's allowed release area based on the object action conditions, the object's allowed release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid, display the object's allowed release area in the virtual scene, receive touch operations on any candidate hexagonal grid within the object's allowed release area, determine the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions, and control the controlled object to release within the target object release area.

[0031] Therefore, by obtaining matching object action conditions based on the object type of the controlled object, a hexagonal mesh-based area for object release is generated and displayed in the virtual scene. Players can precisely select the hexagonal mesh containing the controlled object to be released within this area. The final target object release area is then generated, allowing the controlled object to be released within it. This hexagonal mesh-based release area enables precise release within that region, and players can intuitively see the specific release location of the controlled object, improving the user experience. Furthermore, since the hexagonal mesh-based release area has corresponding storage units on the backend server, extensive coordinate calculations are unnecessary, thus reducing computational load. Attached Figure Description

[0032] Figure 1 This is a diagram illustrating the application environment of a data processing method in one embodiment.

[0033] Figure 2 This is a flowchart illustrating a data processing method in one embodiment;

[0034] Figure 2A This is a schematic diagram of the interface of an area where objects are allowed to be released in one embodiment.

[0035] Figure 2B This is a schematic diagram of the interface of an area where objects are allowed to be released in one embodiment.

[0036] Figure 2C This is a schematic diagram of the interface of the target object release area in one embodiment;

[0037] Figure 3 This is a flowchart illustrating a data processing method in one embodiment;

[0038] Figure 4A This is a schematic diagram of the structure of the area where objects are allowed to be released in one embodiment;

[0039] Figure 4B This is a schematic diagram of the structure of the area where objects are allowed to be released in one embodiment;

[0040] Figure 5 This is a schematic diagram of the area where an object composed of a flat-topped hexagonal grid is allowed to be released in one embodiment;

[0041] Figure 6 This is a schematic diagram of an area where an object composed of a pointed hexagonal grid is allowed to be released in one embodiment;

[0042] Figure 7 This is a schematic diagram of the structure of the target object release area in one embodiment;

[0043] Figure 8 This is a schematic diagram of the structure of the target object release area in one embodiment;

[0044] Figure 9 This is a schematic diagram of the structure of the target object release area in one embodiment;

[0045] Figure 10 This is a schematic diagram of the structure of the target object release area in one embodiment;

[0046] Figure 11 This is a schematic diagram of the interface of the target object release area in one embodiment;

[0047] Figure 12 This is a structural block diagram of a data processing device in one embodiment;

[0048] Figure 13 This is an internal structural diagram of a computer device in one embodiment;

[0049] Figure 14 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0051] The data processing method provided in this application can be applied to, for example... Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices, and server 104 can be a standalone server or a server cluster consisting of multiple servers.

[0052] Specifically, in response to operations on controls corresponding to the controlled object in the virtual scene, the server 104, which communicates with the terminal 102 via the network, detects the operation on the control where the controlled object is located, obtains the object type corresponding to the controlled object, obtains the object action conditions matching the object type, determines the allowed release area of ​​the object based on the object action conditions, and the allowed release area of ​​the object includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid. The allowed release area of ​​the object is displayed in the virtual scene, and a touch operation is received on any candidate hexagonal grid in the allowed release area of ​​the object. Based on the hexagonal grid where the touch operation is located and the object action conditions, the target object release area is determined, and the controlled object is controlled to be released in the target object release area. Furthermore, the terminal 102 can display the controlled object being released in the target object release area.

[0053] In another embodiment, terminal 102 responds to the operation of the control where the controlled object is located in the virtual scene, obtains the object type corresponding to the controlled object, obtains the object action conditions matching the object type, determines the object's allowed release area based on the object action conditions, the object's allowed release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid, displays the object's allowed release area in the virtual scene, receives touch operation on any candidate hexagonal grid in the object's allowed release area, determines the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions, and controls the controlled object to release in the target object release area.

[0054] In one embodiment, such as Figure 2 As shown, a data processing method is provided, which can be applied to... Figure 1 Taking a terminal or server as an example, the following steps are included:

[0055] Step 202: In response to the operation of the control corresponding to the controlled object in the virtual scene, obtain the object type corresponding to the controlled object.

[0056] A virtual scene is a virtual environment displayed (or provided) by an application when it runs on a terminal. This virtual scene can be a simulation of the real world, a semi-simulated / semi-fictional virtual environment, or a purely fictional virtual environment. A virtual scene can be any of the following: two-dimensional, two-and-a-half-dimensional, or three-dimensional; the dimensions of the virtual scene are not limited here. For example, a virtual scene can include the sky, land, and ocean, and the land can include environmental elements such as deserts and cities. Users can control virtual objects to move within this virtual scene.

[0057] In one embodiment, the virtual scene can also be used for virtual scene battles between at least two virtual objects, and the virtual scene has virtual resources available to the at least two virtual objects. In one embodiment, the virtual scene may also include two symmetrical areas, with virtual objects belonging to two opposing factions each occupying one area, and the victory objective being to destroy target buildings / outposts / bases / crystals deep within the opponent's area. Symmetrical areas could be, for example, the lower left and upper right corner areas, or the left middle and right middle areas, etc.

[0058] The controlled object is the object that is controlled in the virtual scene. It can be an active virtual object in the virtual scene, a virtual resource that is used by the virtual object, or a skill used by the virtual object.

[0059] In one embodiment, the controlled object is one of the skills used by the virtual object or the virtual resources used by the virtual object.

[0060] In this context, a virtual object refers to an active object within a virtual scene. This active object can be a virtual character, virtual animal, anime character, etc., such as a person, animal, or plant displayed in the virtual scene. The virtual object can be a virtual avatar representing the user within the virtual scene. Multiple virtual objects can be included in the virtual scene, each with its own shape and volume, occupying a portion of the virtual scene's control area. In one embodiment, the virtual object can be a three-dimensional model, which can be a three-dimensional character constructed based on three-dimensional human skeleton technology. The same virtual object can display different appearances by wearing different skins. In another embodiment, the virtual object can also be implemented using a 2.5D or 2D model; no limitation is made here.

[0061] In one embodiment, the virtual object can be a player character controlled through client operations, artificial intelligence (AI) trained and set up for virtual scene battles, or a non-player character (NPC) interacting in the virtual scene. Optionally, the virtual object can also be a virtual character competing in the virtual scene. The number of virtual objects participating in the interaction in the virtual scene can be preset or dynamically determined based on the number of clients joining the interaction. The controlled object can also be a virtual object; moving the virtual object allows for the release of corresponding skills without the need for a separate skill button. The virtual object itself carries its own skills, and skill release operations are performed by touching the virtual object.

[0062] Users can control virtual objects to unleash skills and engage in combat with other virtual objects. The controlled object can be the skill used by the virtual object. For example, the skill type can be an attack skill, a defense skill, a healing skill, a support skill, or a finishing skill. Each virtual object can have one or more fixed skills, and different virtual objects usually have different skills, each producing different effects. For instance, if a virtual object uses an attack skill and hits an enemy virtual object, it will deal damage, usually by deducting a portion of the enemy virtual object's virtual health. Similarly, if a virtual object uses a healing skill and hits a friendly virtual object, it will heal the friendly virtual object, usually by restoring a portion of the friendly virtual object's virtual health. Other types of skills can produce corresponding effects, which will not be listed here.

[0063] Among them, the controlled object is the object currently being controlled by the user. The controlled object can be a virtual resource used by a virtual object. Virtual resources are virtual items that virtual objects need to use, such as item packs. Different types of virtual resources correspond to different effects. For example, a healing item pack can be used to restore the virtual health of a virtual object, while an attack item pack can be used to attack hostile virtual objects. Virtual resources are different from skills. Virtual resources can be virtual items shared by all virtual objects in a virtual scene. Skills are used to fight against other virtual objects. Each virtual object can have at least one fixed skill. These two are different.

[0064] The execution entity terminal can be any terminal used by any user, and the execution entity server can be a server connected to the user's terminal. The terminal displays a virtual scene, which contains various scene elements, including virtual objects, skills used by virtual objects, and virtual resources used by virtual objects. Different scene elements have corresponding controls, and the specific display of the corresponding scene elements can be achieved by operating the controls.

[0065] Specifically, the system detects an operation on a control containing a controlled object in the virtual scene. This operation can be, but is not limited to, touch operation, voice operation, or timed event triggering operation. In response to the operation on the control containing the controlled object, the system obtains the object type corresponding to the controlled object. Here, object type refers to the type of the controlled object. For example, if the controlled object is the virtual object itself, then the object type is the attribute of the virtual object itself. Or, if the controlled object is a skill used by the virtual object, then the object type is the skill type. Skill types can include attack skills, defense skills, healing skills, support skills, finishing skills, etc. There is no specific limitation on the specific skill type here. Or, if the controlled object is an item pack used by the virtual object, then the object type is the item pack type. Item pack types can include healing item packs, support item packs, etc. There is no specific limitation here.

[0066] Step 204: Obtain the object action conditions that match the object type, and determine the area where the object is allowed to be released based on the object action conditions. The area where the object is allowed to be released includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0067] Among them, the object action condition is the condition for the controlled object to be released. The object action condition corresponding to each controlled object can be determined in advance according to the actual business needs, actual product needs, or actual application scenarios. Different controlled objects can correspond to different object action conditions, and different controlled objects can also correspond to the same object action condition. The specific determination is customized according to the actual situation.

[0068] Among them, the object action condition includes the release condition of the controlled object. The release condition may include, but is not limited to, release distance, release time, etc. For example, the object action condition may be to cause damage to any hexagonal grid within a distance of 3 or less. Or, the object action condition may be to cause damage to a straight line of length 3 within a distance of 3 or less.

[0069] In this process, a mapping relationship between the object type of each candidate object and the matching object action condition can be established in advance. This mapping relationship can be used to find the object action condition that matches the object type of the controlled object.

[0070] Specifically, after determining the object type of the controlled object, the object action conditions matching the object type are obtained. Based on the release distance of the controlled object described by the object action conditions, multiple candidate hexagonal grids within a preset range can be determined through the release distance, thereby forming the object's allowed release area. The allowed release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid. The current hexagonal grid refers to the position occupied by the controlled object, while the candidate hexagonal grids are the positions where the controlled object is allowed to be released. For example, as... Figure 2A As shown, Figure 2A This diagram illustrates an interface schematic showing the area where an object is allowed to be released in one embodiment. Figure 2A The hexagonal grid where the level 1 skill sword is located is the current hexagonal grid where the controlled object is located, while the other hexagonal grids are the positions that the controlled object is allowed to release, which are represented by the hexagonal grid.

[0071] Step 206: Display the area where the object is allowed to be released in the virtual scene, and receive touch operations on any candidate hexagonal grid in the area where the object is allowed to be released.

[0072] Specifically, after determining the area where an object is allowed to be released, this area can be displayed in the virtual scene on the terminal. Displaying this area helps players more accurately locate the desired aiming position using the hexagonal grid. Players can then select any candidate hexagonal grid within the allowed release area for manipulation. This manipulation can be touch-based, specifically clicking a specific candidate hexagonal grid within the allowed release area with a finger or mouse. The selected candidate hexagonal grid represents the location where the controlled object is chosen for release.

[0073] For example, such as Figure 2B As shown, Figure 2B This diagram illustrates an interface schematic showing the area where an object is allowed to be released in one embodiment. Figure 2B The gray hexagonal grid represents the current position of the controlled object, while the black hexagonal grid represents the candidate hexagonal grid selected by the player from among the candidate hexagonal grids.

[0074] Step 208: Determine the target object release area based on the hexagonal grid where the touch operation is located and the object's action conditions, and control the controlled object to release within the target object release area.

[0075] In this system, the hexagonal grid where the touch operation occurs is the location selected by the player from candidate hexagonal grids for the controlled object to be released. However, the object's action conditions include determining the associated hexagonal grid based on the player's selected release location. This associated hexagonal grid is also the allowed release location for the controlled object, determined based on the hexagonal grid where the player's touch operation occurs. Different object action conditions may include different determination methods. Further, the hexagonal grid where the touch operation occurs and the associated hexagonal grids form the target object release area. Finally, the controlled object is controlled to release within this target object release area.

[0076] For example, such as Figure 2C As shown, Figure 2C This diagram illustrates the interface of the target object release area in one embodiment. Figure 2C The gray hexagonal grid represents the current position of the controlled object, while the light black hexagonal grid represents the candidate hexagonal grid selected by the player from among the candidate hexagonal grids. The dark black hexagonal grid represents the associated hexagonal grid. The target object release area is composed of the light black hexagonal grid and the dark black hexagonal grid, and the controlled object is controlled to move within the target object release area.

[0077] In the above data processing method, in response to the operation of the control corresponding to the controlled object in the virtual scene, the object type corresponding to the controlled object is obtained, the object action condition matching the object type is obtained, the object release area is determined according to the object action condition, the object release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid, the object release area is displayed in the virtual scene, a touch operation on any candidate hexagonal grid in the object release area is received, the target object release area is determined according to the hexagonal grid where the touch operation is located and the object action condition, and the controlled object is controlled to release in the target object release area.

[0078] Therefore, by obtaining matching object action conditions based on the object type of the controlled object, a hexagonal mesh-based area for object release is generated and displayed in the virtual scene. Players can precisely select the hexagonal mesh containing the controlled object to be released within this area. The final target object release area is then generated, allowing the controlled object to be released within it. This hexagonal mesh-based release area enables precise release within that region, and players can intuitively see the specific release location of the controlled object, improving the user experience. Furthermore, since the hexagonal mesh-based release area has corresponding storage units on the backend server, extensive coordinate calculations are unnecessary, thus reducing computational load.

[0079] In one embodiment, such as Figure 3 As shown, the data processing method also includes:

[0080] Step 302: Obtain the candidate object type corresponding to the candidate object.

[0081] Step 304: Determine the matching conditions of the candidate objects based on the candidate object type.

[0082] Step 306: Establish the association between candidate object types and candidate object action conditions. The association is used to find object action conditions that match the object type of the controlled object.

[0083] Candidate objects can be determined in advance based on actual business needs, actual product needs, or actual application scenarios. Candidate objects can be various candidate skills, various candidate item packs, etc. Each candidate object has a corresponding candidate object type. Different candidate objects can correspond to different candidate object types, or they can correspond to the same candidate object type. The candidate object type is the object type of the candidate object. For example, if the candidate object is a certain skill, then the corresponding candidate object type is an attack skill.

[0084] Furthermore, the action conditions of each candidate object type can be determined according to actual business needs, actual product needs, or actual application scenarios. The action conditions of the candidate object can describe the release distance or safety distance of the candidate object, or the method of determining the associated release position of the candidate object. The associated release position can be determined based on the location of the player's touch operation. Different candidate object types can correspond to different action conditions or the same action conditions, depending on the actual situation.

[0085] Finally, an association is established between candidate object types and matching candidate object action conditions, that is, the candidate object types are bound to the matching candidate object action conditions. After successful binding, this association can be used to find object action conditions that match the object type of the controlled object.

[0086] In one embodiment, determining the area where an object is allowed to be released based on the object action condition includes: obtaining the object action distance corresponding to the object action condition; determining candidate hexagonal grids that match the object action distance, starting from at least one edge or at least one point of the current hexagonal grid; and the current hexagonal grid and the candidate hexagonal grids constitute the area where the object is allowed to be released.

[0087] Specifically, determining the allowed release area of ​​an object based on the object's action conditions can involve obtaining the object's action distance described in the object's action conditions. The object's action distance can be a release distance or a safety distance. The release distance is the distance at which the controlled object can release, while the safety distance is the distance at which the controlled object cannot release. For example, if the release distance of a certain controlled object is 3, the allowed release area of ​​the object with a distance of 3 is formed based on the hexagonal grid where the controlled object is located.

[0088] Furthermore, after obtaining the object action distance described in the object action conditions, candidate hexagonal grids matching the object action distance are determined, starting from at least one edge or at least one point of the current hexagonal grid. These candidate hexagonal grids serve as endpoints, and connecting the starting and ending points forms the area where the object is allowed to be released. Here, the hexagonal grid describes the current position of the controlled object and the area where the controlled object is allowed to be released. The hexagonal grid has corresponding storage units on the backend server, which is equivalent to defining the original size of the virtual scene. The screen is the projection of the virtual scene; it's simply a function transformation based on the current camera position and scaling, requiring less complex calculations and thus reducing the computational load.

[0089] For example, such as Figure 4A As shown, Figure 4A This diagram illustrates the structure of the region where an object is allowed to be released in one embodiment. Figure 4A The gray hexagonal grid in the diagram represents the current hexagonal grid where the controlled object is located. Starting from the six edges of the current hexagonal grid, and with the object action distance described in the object action condition being 3, candidate hexagonal grids matching the object action distance are determined (i.e., candidate hexagonal grids whose distance from the current hexagonal grid is less than or equal to 3). The current hexagonal grid and the candidate hexagonal grids together form the area where the controlled object is allowed to be released, which is a large hexagonal grid.

[0090] For example, such as Figure 4B As shown, Figure 4B This diagram illustrates the structure of the region where an object is allowed to be released in one embodiment. Figure 4B The gray hexagonal grid in the middle is the current hexagonal grid where the controlled object is located. The object action conditions include the object action orientation (angle range) and the object action distance (3). According to the angle range, find the two sides of the current hexagonal grid. Then, with the two sides of the current hexagonal grid as the starting point, determine the candidate hexagonal grid that matches the object action distance (i.e., the candidate hexagonal grid that is less than or equal to 3 from the current hexagonal grid). The current hexagonal grid and the candidate hexagonal grid constitute the area where the controlled object is allowed to be released.

[0091] In one embodiment, the area where objects are allowed to be released is a gridded area consisting of at least one hexagonal grid of the same size, wherein the hexagonal grids are laid flat across the entire area where objects are allowed to be released without gaps between them and without overlapping each other, and the hexagonal grids are one of two types: hexagonal grids with corners facing up and hexagonal grids with edges facing up.

[0092] Specifically, after determining the area where objects are allowed to be released, it needs to be displayed to the player in the virtual scene to facilitate the player's precise selection of the release location of the controlled object, thereby improving the player's experience. Specifically, the area where objects are allowed to be released can be a gridded area composed of at least one hexagonal grid of the same size. These hexagonal grids are not spaced apart and do not overlap, tiling flat across the entire area. The hexagonal grid can be a hexagon with its corners facing upwards (called a pointed hexagonal grid) or a hexagon with its sides facing upwards (called a flat-topped hexagonal grid).

[0093] For example, such as Figure 5 As shown, Figure 5 This diagram illustrates a region where an object composed of a flat-topped hexagonal mesh is allowed to be released, in one embodiment. Figure 5 The areas where objects are allowed to be released are all composed of flat-topped hexagonal grids, such as Figure 6 As shown, Figure 6 This diagram illustrates a region where an object composed of a pointed hexagonal mesh is allowed to be released, according to one embodiment. Figure 6 The areas where objects are allowed to be released are composed of pointed hexagonal meshes.

[0094] In one embodiment, determining the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions includes: determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the object's allowed release area based on the object action conditions, and forming the target object release area.

[0095] For example, such as Figure 7 As shown, Figure 7 This diagram illustrates the structure of the target object release area in one embodiment. Figure 7 The object action condition describes the method for determining associated hexagonal grids as unassociated hexagonal grids. In other words, the hexagonal grid where the player's touch operation occurs is the target object release area; if there are no other associated hexagonal grids, then... Figure 7 The gray hexagonal grid represents the hexagonal grid where the controlled object is located, while the black hexagonal grid represents the hexagonal grid where the touch operation occurs, i.e., the release area of ​​the target object.

[0096] For example, such as Figure 8 As shown, Figure 8 This diagram illustrates the structure of the target object release area in one embodiment. Figure 8 The object action conditions describe how the associated hexagonal grids are determined: Using the hexagonal grid where the touch operation is located as a reference, a specified number of hexagonal grids that form a straight line with the hexagonal grid where the touch operation is located constitute the target object release area. In other words, a specified number of hexagonal grids that are on the same straight line as the hexagonal grid where the touch operation is located are the associated hexagonal grids, forming the target object release area. Figure 8 The gray hexagonal grid represents the hexagonal grid where the controlled object is located, while the light black hexagonal grid represents the hexagonal grid where the touch operation is located, and the dark black hexagonal grid represents the associated hexagonal grid. The light black hexagonal grid and the dark black hexagonal grid together form the target object release area.

[0097] It can also be like Figure 9 As shown, Figure 9 This diagram illustrates the structure of the target object release area in one embodiment. Figure 9 The object interaction conditions describe how the associated hexagonal mesh is determined: Based on the hexagonal mesh where the touch operation occurs, a closed-loop hexagonal mesh is formed with the hexagonal mesh containing the touch operation, constituting the target object release area. In other words, the hexagonal mesh forming a closed loop with the hexagonal mesh is the associated hexagonal mesh, forming the target object release area. Figure 9 The gray hexagonal grid represents the hexagonal grid where the controlled object is located, while the light black hexagonal grid represents the hexagonal grid where the touch operation is located, and the dark black hexagonal grid represents the associated hexagonal grid. The light black hexagonal grid and the dark black hexagonal grid together form the target object release area.

[0098] It can also be like Figure 10 As shown, Figure 10 This diagram illustrates the structure of the target object release area in one embodiment. Figure 10 The object action conditions describe how the associated hexagonal grid is determined: using the hexagonal grid where the touch operation is located as a reference, a fan-shaped hexagonal grid is formed with the hexagonal grid where the touch operation is located, constituting the target object release area. For example, Figure 10 The gray hexagonal grid represents the hexagonal grid where the controlled object is located, while the light black hexagonal grid represents the hexagonal grid where the touch operation is located, and the dark black hexagonal grid represents the associated hexagonal grid. The light black hexagonal grid and the dark black hexagonal grid together form the target object release area.

[0099] In one embodiment, determining the target object release area based on the hexagonal grid where the touch operation is located and the object action condition includes: determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the object's allowed release area based on the object action condition, forming an intermediate object release area, and mapping the intermediate object release area onto the target object release area corresponding to the virtual object in the virtual scene.

[0100] When the controlled object and the player's virtual object are not on the same hexagonal grid, touching the controlled object may prevent it from being released near the player's virtual object. Therefore, it is necessary to map the area where the controlled object is released to the area surrounding the virtual object so that the player can see exactly where the controlled object is released. Specifically, this can be done by obtaining the object's action distance corresponding to the object's action condition, and determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the object's allowed release area based on the object's action distance, forming an intermediate object release area. However, at this time, the intermediate object release area may not be in the area surrounding the player's virtual object. Therefore, it is necessary to map the intermediate object release area to the target object release area corresponding to the virtual object in the virtual scene. The target object release area is the area where the controlled object actually needs to be released.

[0101] Among them, the first distance between the controlled object and the intermediate object release area, and the second distance between our virtual object and the target object release area, can be the same, and can be enlarged or reduced by a certain ratio. The specific setting of the ratio can be determined according to actual business needs, actual product needs or actual application scenarios.

[0102] For example, such as Figure 11 As shown, Figure 11 This diagram illustrates the interface of the target object release area in one embodiment. Figure 11 The controlled object is a sword. Based on the object's action conditions, candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation are determined from the object's allowed release area. These form the intermediate object release area, which is a black hexagonal grid area. Our virtual object is an anime character, which is not on the same hexagonal grid as the controlled object. Our virtual object is our virtual character. The intermediate object release area is mapped onto the target object release area A corresponding to the virtual object around the virtual object in the virtual scene.

[0103] In one specific embodiment, a data processing method is provided, which specifically includes the following steps:

[0104] 1. Obtain the candidate object type corresponding to the candidate object.

[0105] 2. Determine the matching conditions for candidate objects based on the candidate object type.

[0106] 3. Establish the association between candidate object types and candidate object action conditions. The association is used to find object action conditions that match the object type of the controlled object.

[0107] 4. In response to the operation of the control corresponding to the controlled object in the virtual scene, obtain the object type corresponding to the controlled object, wherein the controlled object is one of the skills used by the virtual object or the virtual resources used by the virtual object.

[0108] 5. Obtain the object action conditions that match the object type, and determine the area where the object is allowed to be released based on the object action conditions. The area where the object is allowed to be released includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0109] The allowed release area for an object is a meshed region consisting of at least one hexagonal grid of the same size. Each hexagonal grid is laid flat across the entire allowed release area without gaps or overlaps. The hexagonal grid can be either a corner-up hexagonal grid or an edge-up hexagonal grid. 5-1. Obtain the object action distance corresponding to the object action condition.

[0110] 5-2. Starting from at least one edge or at least one point of the current hexagonal mesh, determine the candidate hexagonal meshes that match the target's effective distance.

[0111] 5-3. The area that is allowed to be released for the object composed of the current hexagonal mesh and the candidate hexagonal mesh.

[0112] 6. Display the area where objects are allowed to be released in the virtual scene, and receive touch operations on any candidate hexagonal grid within the area where objects are allowed to be released.

[0113] 6-1. In the virtual scene, based on the current hexagonal grid where the controlled object is located, arrange a specified number of candidate hexagonal grids that the controlled object is allowed to be released, form the area where the object is allowed to be released and display it. The current hexagonal grid and the candidate hexagonal grids are hexagonal grids of the same shape, and the hexagonal grids are flat-topped hexagonal grids or pointed-topped hexagonal grids.

[0114] 7. Determine the target object release area based on the hexagonal grid where the touch operation is located and the object's action conditions, and control the controlled object to release within the target object release area.

[0115] 7-1. Based on the object's action conditions, determine the candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the object's allowed release area, and form the target object's release area.

[0116] 7-2. Based on the object's action conditions, determine the candidate hexagonal mesh associated with the hexagonal mesh corresponding to the touch operation from the object's allowed release area, form the intermediate object release area, and map the intermediate object release area onto the target object release area corresponding to the virtual object in the virtual scene.

[0117] It should be understood that although the steps in the flowchart above are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart above may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0118] In one embodiment, such as Figure 12 As shown, a data processing device 1200 is provided, including: a response module 1202, an acquisition module 1204, a display module 1206, and a control module 1208, wherein:

[0119] The response module 1202 is used to respond to the operation of the control corresponding to the controlled object in the virtual scene and to obtain the object type corresponding to the controlled object.

[0120] The acquisition module 1204 is used to acquire the object action conditions that match the object type, and determine the object's allowed release area based on the object action conditions. The object's allowed release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid.

[0121] Display module 1206 is used to display the area where an object is allowed to be released in a virtual scene and to receive touch operations on any candidate hexagonal grid in the area where the object is allowed to be released.

[0122] The control module 1208 is used to determine the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions, and to control the controlled object to release within the target object release area.

[0123] In one embodiment, the data processing device 1200 obtains the candidate object type corresponding to the candidate object, determines the matching candidate object action condition based on the candidate object type, and establishes an association between the candidate object type and the candidate object action condition. The association is used to find the object action condition that matches the object type of the controlled object.

[0124] In one embodiment, the acquisition module 1204 acquires the object action distance corresponding to the object action condition, and determines the candidate hexagonal grids that match the object action distance, starting from at least one edge or at least one point of the current hexagonal grid. The current hexagonal grid and the candidate hexagonal grids constitute the area where the object is allowed to be released.

[0125] In one embodiment, the area where objects are allowed to be released is a gridded area consisting of at least one hexagonal grid of the same size, wherein the hexagonal grids are laid flat across the entire area where objects are allowed to be released without gaps between them and without overlapping each other, and the hexagonal grids are one of two types: hexagonal grids with corners facing up and hexagonal grids with edges facing up.

[0126] In one embodiment, the control module 1208 determines candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the allowed release area of ​​the object based on the object action conditions, forming a target object release area. In another embodiment, the control module 1208 determines candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the allowed release area of ​​the object based on the object action conditions, forming an intermediate object release area, and maps the intermediate object release area onto the target object release area corresponding to the virtual object in the virtual scene.

[0127] In one embodiment, the controlled object is one of the skills used by the virtual object or the virtual resources used by the virtual object.

[0128] Specific limitations regarding the data processing device can be found in the limitations regarding the data processing method described above, and will not be repeated here. Each module in the aforementioned data processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0129] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 13As shown, the computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores the conditions under which objects operate. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a data processing method.

[0130] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 14 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a data processing method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0131] Those skilled in the art will understand that Figure 13 or Figure 14 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0132] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: in response to an operation on a control corresponding to a controlled object in a virtual scene, it obtains the object type corresponding to the controlled object, obtains the object action conditions matching the object type, determines the object's allowed release area based on the object action conditions, the object's allowed release area including the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid, displays the object's allowed release area in the virtual scene, receives a touch operation on any candidate hexagonal grid in the object's allowed release area, determines the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions, and controls the controlled object to release within the target object release area.

[0133] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the candidate object type corresponding to the candidate object, determining the matching candidate object action condition based on the candidate object type, and establishing an association between the candidate object type and the candidate object action condition. The association is used to find the object action condition that matches the object type of the controlled object.

[0134] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the object action distance corresponding to the object action condition, determining the candidate hexagonal grids that match the object action distance, with at least one edge or at least one point of the current hexagonal grid as the starting point, and the current hexagonal grid and the candidate hexagonal grids forming the area where the object is allowed to be released.

[0135] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining, based on the object action conditions, candidate hexagonal grids associated with the hexagonal grids corresponding to the touch operation from the object's allowed release area, forming the target object release area.

[0136] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining, based on the object's allowed release area, a candidate hexagonal grid associated with the hexagonal grid corresponding to the touch operation, forming an intermediate object release area, and mapping the intermediate object release area onto the target object release area corresponding to the virtual object in the virtual scene.

[0137] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, it performs the following steps: in response to an operation on a control corresponding to a controlled object in a virtual scene, obtaining the object type corresponding to the controlled object, obtaining the object action condition matching the object type, determining the object's allowed release area according to the object action condition, the object's allowed release area including the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid, displaying the object's allowed release area in the virtual scene, receiving a touch operation on any candidate hexagonal grid in the object's allowed release area, determining the target object release area according to the hexagonal grid where the touch operation is located and the object action condition, and controlling the controlled object to release in the target object release area.

[0138] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the candidate object type corresponding to the candidate object, determining the matching candidate object action condition based on the candidate object type, and establishing an association between the candidate object type and the candidate object action condition. The association is used to find the object action condition that matches the object type of the controlled object.

[0139] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the object action distance corresponding to the object action condition, determining the candidate hexagonal grids that match the object action distance, with at least one edge or at least one point of the current hexagonal grid as the starting point, and the current hexagonal grid and the candidate hexagonal grids forming the area where the object is allowed to be released.

[0140] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining, based on the object action conditions, candidate hexagonal grids associated with the hexagonal grids corresponding to the touch operation from the object's allowed release area, forming the target object release area.

[0141] In one embodiment, when the processor executes the computer program, it further performs the following steps: determining, based on the object's allowed release area, a candidate hexagonal grid associated with the hexagonal grid corresponding to the touch operation, forming an intermediate object release area, and mapping the intermediate object release area onto the target object release area corresponding to the virtual object in the virtual scene.

[0142] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0143] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0144] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A data processing method, the method comprising: In response to an operation on a control corresponding to a controlled object in a virtual scene, the object type corresponding to the controlled object is obtained, wherein the controlled object is one of the skills used by the virtual object or the virtual resources used by the virtual object; the virtual scene is used for virtual scene battles between at least two virtual objects; Obtain the object action condition that matches the object type, and obtain the object action distance corresponding to the object action condition; Starting from at least one edge or at least one point of the current hexagonal grid, determine the candidate hexagonal grids that match the target's action distance. The current hexagonal grid and the candidate hexagonal grids constitute the target's allowed release area. The target's allowed release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid. The virtual scene displays the area where the object is allowed to be released, and receives touch operations on any candidate hexagonal grid within the area where the object is allowed to be released; The target object release area is determined based on the hexagonal grid where the touch operation is located and the object's action conditions, and the controlled object is controlled to release within the target object release area. The step of determining the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions includes: when the controlled object and our virtual object are not in the same hexagonal grid, determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the allowed release area of ​​the object according to the object action conditions, forming an intermediate object release area; mapping the intermediate object release area to the target object release area corresponding to the virtual object in the virtual scene; the target object release area is the area that the controlled object actually needs to release.

2. The method according to claim 1, characterized in that, The method further includes: Get the candidate object type corresponding to the candidate object; The matching conditions for candidate objects are determined based on the candidate object type. Establish an association between the candidate object type and the candidate object action condition, the association being used to find object action conditions that match the object type of the controlled object.

3. The method according to claim 1, characterized in that, The area where the object is allowed to be released is a gridded area consisting of at least one regular hexagonal grid of the same size. Each regular hexagonal grid is laid flat across the entire area where the object is allowed to be released without gaps between them and without overlapping. The regular hexagonal grid is one of a regular hexagonal grid with the corners facing up and a regular hexagonal grid with the edges facing up.

4. The method according to claim 1, characterized in that, The step of determining the target object release area based on the hexagonal grid where the touch operation is located and the object's action conditions includes: Based on the object's action conditions, candidate hexagonal grids associated with the hexagonal grids corresponding to the touch operation are determined from the object's allowed release area, forming the target object release area.

5. A data processing apparatus, characterized in that, The device includes: The response module is used to respond to operations on controls corresponding to controlled objects in a virtual scene, and to obtain the object type corresponding to the controlled object, wherein the controlled object is one of the skills used by the virtual object or the virtual resources used by the virtual object; the virtual scene is used for virtual scene battles between at least two virtual objects; The acquisition module is used to acquire the object action condition matching the object type, acquire the object action distance corresponding to the object action condition, and determine the candidate hexagonal grids matching the object action distance, taking at least one edge or at least one point of the current hexagonal grid as the starting point. The current hexagonal grid and the candidate hexagonal grids constitute the object allowed release area. The object allowed release area includes the current hexagonal grid where the controlled object is located and multiple candidate hexagonal grid areas within a preset range associated with the current hexagonal grid. The display module is used to display the area where the object is allowed to be released in the virtual scene and to receive touch operations on any candidate hexagonal grid in the area where the object is allowed to be released. The control module is used to determine the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions, and to control the controlled object to release within the target object release area; The step of determining the target object release area based on the hexagonal grid where the touch operation is located and the object action conditions includes: when the controlled object and our virtual object are not in the same hexagonal grid, determining candidate hexagonal grids associated with the hexagonal grid corresponding to the touch operation from the allowed release area of ​​the object according to the object action conditions, forming an intermediate object release area; mapping the intermediate object release area to the target object release area corresponding to the virtual object in the virtual scene; the target object release area is the area that the controlled object actually needs to release.

6. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Virtual object control method and device, terminal and storage medium

    CN111589140A

  • Data processing method and related device

    CN112691367A

  • Acquisition method and device of chess piece role, terminal and storage medium

    CN112915529A