Skill indicator display method and device, electronic device and storage medium

By using the graphical user interface on the terminal device in the hexagonal scene maps of the combat game, the system determines the skill release position and damage range, and generates a skill indicator, which solves the problem that the skill indicator is difficult to accurately represent the range attack skill damage area, and improves the user's combat decision efficiency.

JP2025508909AActive Publication Date: 2025-04-10NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024550833
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-03-02
Filing Date
2023-02-10
Publication Date
2025-04-10
Estimated Expiration
2043-02-10

AI Technical Summary

Technical Problem

In combat games, the skill indicator of hexagonal scene maps is difficult to accurately represent the damaged area of ​​the range attack skill, making it difficult for users to determine whether they have attacked a certain hexagonal area, affecting combat decisions.

Method used

By providing a graphical user interface on the terminal device, the virtual scene consists of a number of consecutively arranged hexagonal scene units. The system determines the release position and damage range when the skill is released, and determines the direction information of the skill indicator based on the relative positions of the multiple designated scene units, and generates and displays the skill indicator.

Benefits of technology

The indication effect of the skill indicator is improved, allowing users to more quickly and accurately determine whether the hexagonal area is attacked, and enhances the interaction efficiency between users and machines.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025508909000001_ABST
    Figure 2025508909000001_ABST
Patent Text Reader

Abstract

A method for displaying a skill indicator includes the steps of: determining an emission position and a damage range of a target skill in response to a trigger operation for a target skill, the emission position being one scene unit in a virtual scene, the emission position being located in a damage range, and the damage range including a plurality of scene units; determining direction information of a skill indicator of the target skill based on relative positions of a plurality of designated scene units in the damage range; and generating and displaying a skill indicator along a direction indicated by the direction information with respect to the emission position based on indicator parameters preset for the target skill. A display device, an electronic device, and a storage medium for a skill indicator are further provided. The generated skill indicator and the damage range of the skill have a high degree of matching, which is advantageous for a user to accurately determine an attack area based on the skill indicator, thereby improving the indication effect of the skill indicator and improving man-machine interaction efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Related Applications

[0001] This disclosure claims priority to a Chinese patent application bearing application number 202210197638.3, filed on March 2, 2022, and entitled "Skill indicator display method, device and electronic device," the entire contents of which are incorporated herein by reference. [Technical field]

[0002] The present disclosure relates to the field of man-machine interaction, and in particular to a method for displaying a skill indicator, a display device for a skill indicator, an electronic device, and a machine-readable storage medium. [Background technology]

[0003] In combat games, the scene map of the game scene is usually composed of continuous polygons, such as a rectangle or a hexagon. Compared to a rectangle scene map, a hexagon scene map has many advantages, such as the largest area for the same perimeter, the distance from the center of a cell to the center point of adjacent cells in all directions is equal, and the policy is deeper. For area attack skills, before the skill is released, a skill indicator is usually displayed to indicate the damage area after the skill is released based on the skill release direction and damage range. Since the damage range of the skill is usually a standard shape such as a circle, a rectangle, a sector, a tapered shape, etc., the damage area indicated by the skill indicator cannot be absolutely matched with the hexagon in the map, and it is difficult for the user to determine whether a certain hexagonal area has been attacked based on the damage area indicated by the skill indicator, and the indication effect of the skill indicator is poor, which affects the user's combat decision-making.

[0004] It should be noted that the information disclosed in the above background art section is used only to enhance understanding of the background of the present disclosure and may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] In view of this, the object of the present disclosure is to provide a method and device for displaying a skill indicator, an electronic device, and a device-readable storage medium, which improve the indicating effect of the indicator and further improve the user's man-machine interaction efficiency.

[0006] A first aspect of an embodiment of the present disclosure provides a method for displaying a skill indicator in which a graphical user interface is provided by a terminal device, a virtual scene is displayed on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged continuously, and the scene units are hexagonal, the method including: determining an emission position and a damage range of the target skill in response to a trigger operation on a target skill, the emission position being one scene unit in the virtual scene, the emission position being located in the damage range, the damage range including a plurality of scene units; determining directional information of the skill indicator of the target skill based on relative positions of the plurality of specified scene units in the damage range; and generating and displaying a skill indicator along a direction indicated by the directional information, based on indicator parameters preset for the target skill, with the emission position as a reference.

[0007] Optionally, the step of determining the release position and damage range of the target skill in response to a trigger operation on the target skill includes the steps of: determining the release position of the target skill based on a drag position of the skill control in response to a drag operation acting on the skill control of the target skill; determining coordinate information for each scene unit in the damage range of the target skill based on damage range parameters and the release position preset for the target skill in a hexagonal coordinate system of the virtual scene; and determining the coordinate information for each scene unit in the damage range of the target skill as the damage range of the target skill.

[0008] Optionally, the step of determining directional information of a skill indicator of a target skill based on the relative positions of a plurality of specified scene units in the damage range includes the steps of obtaining a target scene unit that is farthest from the emission position in the damage range, and determining directional information of a skill indicator of a target skill based on a connection line between the target scene unit and the emission position and a relationship between the sides and corners of a hexagon.

[0009] Optionally, the step of determining directional information of the skill indicator of the target skill based on the relationship between the connecting line between the target scene unit and the release position and the sides and corners of the hexagon includes a step of determining directional information of the skill indicator of the target skill based on the target scene unit and the release position when the connecting line between the target scene unit and the release position satisfies a specified condition, the specified condition including that the connecting line between the target scene unit and the release position is perpendicular to any side of the hexagon or passes through any corner of the hexagon, and a step of determining directional information of the skill indicator of the target skill based on the target scene unit, adjacent scene units of the target scene unit, and the release position when the connecting line between the target scene unit and the release position does not satisfy the specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit, adjacent scene units of the target scene unit, and the release position, the distance between the adjacent scene unit and the release position is not smaller than the distance between the release position and a scene unit other than the target scene unit in the damage range.

[0010] Optionally, when the connection line between the target scene unit and the release position satisfies a specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit and the release position includes a step of determining a difference between coordinate information of the target scene unit and the release position as directional information of the skill indicator of the target skill when the connection line between the target scene unit and the release position satisfies a specified condition.

[0011] Optionally, when the connecting line between the target scene unit and the release position does not satisfy the specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit, the adjacent scene units of the target scene unit, and the release position includes the step of calculating the sum of the coordinate information between the target scene unit and the adjacent scene units and obtaining an intermediate result when the connecting line between the target scene unit and the release position does not satisfy the specified condition, and the step of determining the difference between the coordinate information of the intermediate result and the release position as the directional information of the skill indicator of the target skill.

[0012] Optionally, the step of generating and displaying a skill indicator along a direction indicated by the directional information with the release position as a reference based on indicator parameters preset for the target skill includes the steps of determining size parameters of the skill indicator based on a damage range shape and damage distance of the target skill, and generating and displaying a skill indicator along a direction indicated by the directional information with the release position as a starting point, wherein the display size of the skill indicator matches the size parameters.

[0013] A second aspect of an embodiment of the present disclosure provides a display device for a skill indicator in which a graphical user interface is provided by a terminal device, a virtual scene is displayed on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged in a continuous manner, and the scene units are hexagonal, the device comprising: a first determination module configured to determine an emission position and a damage range of a target skill in response to a trigger operation on a target skill, the emission position being one scene unit in the virtual scene, the emission position being located in a damage range, the damage range including a plurality of scene units; a second determination module configured to determine directional information of a skill indicator of the target skill based on relative positions of a plurality of specified scene units in the damage range; and a display module configured to generate and display a skill indicator along a direction indicated by the directional information, based on indicator parameters preset for the target skill, with the emission position as a reference.

[0014] A third aspect of an embodiment of the present disclosure provides an electronic device including a processor and a memory, the memory storing device executable instructions executable by the processor, and the processor executing the device executable instructions to realize the above-mentioned skill indicator display method.

[0015] A fourth aspect of an embodiment of the present disclosure provides a machine-readable storage medium having machine-executable instructions stored thereon, the machine-executable instructions, when called and executed by a processor, causing the processor to realize the above-mentioned method for displaying a skill indicator.

[0016] Embodiments of the present invention provide the following beneficial effects:

[0017] The above-mentioned skill indicator display method, device, and electronic device include a terminal device providing a graphical user interface, a virtual scene being displayed on the graphical user interface, the virtual scene being composed of a plurality of scene units arranged in succession, the scene units being hexagonal, and determining a release position and damage range of the target skill in response to a trigger operation on a target skill, wherein the release position is one scene unit in the virtual scene, the release position being located in the damage range, the damage range including a plurality of scene units, determining directional information of the skill indicator of the target skill based on the relative positions of the plurality of specified scene units in the damage range, and generating and displaying a skill indicator along the direction indicated by the directional information, based on indicator parameters preset for the target skill, with the release position as a reference. In this method, the skill release position and damage range are determined in hexagonal scene units, directional information is determined based on the specified scene units in the damage range, and a skill indicator is generated and displayed based on parameters such as directional information and release position. The skill indicator and the skill damage range generated in this method have a high degree of matching, which is advantageous for users to quickly determine whether a certain hexagonal area has been attacked based on the skill indicator, and the skill damage range is indicated accurately and clearly, which improves the indication effect of the skill indicator and further improves the user's man-machine interaction efficiency.

[0018] Other features and advantages of the present disclosure will be set forth in the description which follows, and in part will be obvious from the description, or will be learned by the practice of the present disclosure. The objectives and other advantages of the present disclosure will be realized and obtained by the structure particularly pointed out in the written description, claims and drawings.

[0019] It should be noted that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

[0020] In order to make the above objects, features and advantages of the present disclosure more apparent, preferred embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. [Brief description of the drawings]

[0021] In order to more clearly describe the specific embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required in the description of the specific embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present disclosure, and those skilled in the art can also obtain other drawings based on these drawings without any creative efforts. [Figure 1] Schematic diagram showing a skill indicator indicating a damage range according to an embodiment of the present disclosure. [Diagram 2] 13 is a flowchart of a method for displaying a skill indicator according to an embodiment of the present disclosure. [Diagram 3] FIG. 1 is a schematic diagram of a positioning scene unit in a hexagonal coordinate system according to an embodiment of the present disclosure. [Figure 4] FIG. 13 is a schematic diagram of a damage range according to an embodiment of the present disclosure. [Diagram 5] FIG. 2 is a schematic diagram of a positional relationship according to an embodiment of the present disclosure. [Figure 6] FIG. 13 is a schematic diagram of another positional relationship according to an embodiment of the present disclosure. [Figure 7] Schematic diagram of another skill indicator indicating damage range according to an embodiment of the present disclosure. [Figure 8] Schematic diagram of data processing in the process of generating a skill indicator in accordance with an embodiment of the present disclosure. [Figure 9] Schematic diagram of the structure of a display device of a skill indicator according to an embodiment of the present disclosure. [Figure 10] 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] In order to make the objectives, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions of the present disclosure are described below clearly and completely with reference to the drawings, and obviously, the described embodiments are only some embodiments of the present disclosure, and not all embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by a person skilled in the art without creative labor also belong to the protection scope of the present disclosure.

[0023] In many virtual scene applications, such as combat games, users need to set a scene map to control the movement of the character in the map. Compared to a rectangular map, a scene map connected in a hexagon has the largest area for the same perimeter, the distance from the center of a cell to the center point of the adjacent cell in all directions is equal, the policy is deeper, and other advantages, and is being increasingly widely applied. In the battle process, the user can control the character to release a range damage skill, and it is important to use a skill indicator to accurately and clearly display the skill damage range area to the user before the skill damage is activated, so that the battle policy can be exerted to a greater extent in the hexagonal map scene.

[0024] The skill indicator is generated based on a certain size and direction, and is a control for indicating the scene area covered by the action range of the skill, and has multiple shapes such as a rectangle, a circle, a sector, and a tapered shape. In the related art, the skill indicator is generated and displayed in a purely physical manner, and FIG. 1 shows an example of a rectangular skill indicator indicating a damage area. In a hexagonal map scene, a related coordinate system (e.g., a two-dimensional coordinate system) is established with a certain fixed point on the map as the zero point, and the position of each geometric point included inside the hexagon in the scene map is located in the form of a point coordinate. Here, A is the position point of the target character, and the user locks the skill-related parameters that the character needs to release and releases the skill at position B on the map, estimates the damage position coordinate in the coordinate system based on the skill parameters, and generates and displays the skill indicator, i.e., the rectangular part filled with twill in the figure, using the direction vector obtained by the damage position coordinate and the A position coordinate and the indicator size fixed in advance. However, the damage area indicated by the skill indicator is located at a position that is neither a side nor a corner when intersecting with the hexagonal map, and the user is likely to be confused about whether to inflict damage on the positions E and C. Therefore, the skill indicator generated and displayed using a point on the map as the minimum calculation unit cannot utilize the advantages of the policy depth of the hexagonal lattice, and the skill indicator generated by this method generally intersects with the hexagon at a position that is neither a side nor a corner, and it is not possible to clearly recognize whether the intersecting part is damaged or not, which has a very strong confusing effect on the user's understanding of the hexagon and the combination of strategies using the hexagon, and the indication effect of the skill indicator is poor, affecting the user's combat decision-making.

[0025] Based on this, embodiments of the present disclosure provide a method for displaying a skill indicator, a display device for a skill indicator, a machine-readable storage medium, and an electronic device, which may be applied to games or other virtual scenes, and in particular to skill instructions in combat-based games.

[0026] The method for displaying a skill indicator in an embodiment of the present disclosure can be executed by a local touch terminal device or a server. When the method for displaying a skill indicator is executed by a server, the method can be implemented and executed based on a cloud interactive system, where the cloud interactive system includes a server and a client device.

[0027] In an alternative embodiment, the cloud interactive system can execute various cloud applications, such as cloud games. Taking cloud games as an example, cloud games refer to a game method based on cloud computing. In the execution mode of cloud games, the execution subject of the game program and the presentation subject of the game screen are separated, the storage and execution of the display method of the skill indicator are completed on the cloud game server, and the role of the client device is used for receiving and transmitting data and presenting the game screen. The client device may be a display device having a data transmission function close to the user side, such as a mobile terminal, a television, a computer, a personal digital assistant (PDA), etc., but the information transmission method may be performed by the cloud game server of the cloud. When playing a game, a player operates the client device to send an operation command to the cloud game server, and the cloud game server executes the game based on the operation command, encodes and compresses data such as the game screen, returns it to the client device via the network, and finally decodes it by the client device to output the game screen.

[0028] In an alternative embodiment, taking a game as an example, the local touch terminal device is configured to store a game program and present a game screen. The local touch terminal device is configured to interact with a player through a graphical user interface, i.e., a game program is downloaded, installed, and executed by a normal electronic device. The manner in which the local touch terminal device provides the graphical user interface to the player may include multiple types, for example, the graphical user interface may be rendered and displayed on the display of the terminal, or may be provided to the player by holographic projection. For example, the local touch terminal device includes a display and a processor, the display is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is configured to execute the game, generate the graphical user interface, and control the display of the graphical user interface on the display.

[0029] In an alternative embodiment, the embodiment of the present disclosure provides a method for displaying a skill indicator, in which a graphical user interface is provided by a touch terminal device, where the touch terminal device may be the above-mentioned local touch terminal device or the above-mentioned client device in the cloud interactive system. The touch terminal device provides a graphical user interface, where screen content such as a game scene screen, a communication interaction window, etc. can be displayed according to the type of the launched application program. In this embodiment, a virtual scene is displayed on the graphical user interface, and the virtual scene may be a simulation environment for the real world, a virtual environment in which half is simulated and half is fictitious, or a completely fictitious virtual environment. The virtual scene is configured by connecting a plurality of scene units arranged in a continuous manner, where the shape of the scene unit is a hexagon. That is, the virtual scene is configured by continuously arranged hexagons, and all six sides of each hexagon are adjacent to other hexagons, except for the hexagons located on the edges. In order to facilitate understanding of this embodiment, first, a method of displaying a skill indicator disclosed in an embodiment of the present disclosure will be described in detail. As shown in Fig. 2, a graphical user interface is provided by a terminal device, a virtual scene is displayed on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged continuously, and the scene units are hexagonal, and the method of displaying a skill indicator includes the following steps S202 to S206. Here, in step S202, in response to a trigger operation on a target skill, a release position and a damage range of the target skill are determined, where the release position is one scene unit in the virtual scene, the release position is located in the damage range, and the damage range includes a plurality of scene units.

[0030] Skills are various special functions that can assist the target character in interacting with other characters in a virtual scene, and the skill types of the skills may include attack skills, defense skills, healing skills, etc. Skills are further classified into directional skills and range skills, and directional skills are skills that require the specification of a release direction or a release target in the skill release process. Range skills refer to skills that require the specification of a release range in the skill release process, and the release range can be determined by a specified shape and a release distance.

[0031] Here, the target skill is a range ability that the user controls to use or release the target character to attack and damage other virtual characters, and the skill damage shape includes a rectangle, a circle, a sector, a taper, etc., and the damage distance has various settings. The user can control the target character to release the target skill at a certain hexagonal scene unit in the virtual scene, which triggers the damage effect of the range damage at the position, resulting in a certain damage range in the scene. Here, the position of the hexagonal scene unit is the release position, and the damage range may be determined based on the shape of the skill damage and the damage distance parameter, and is a plurality of scene units including the release position. For example, if the skill damage shape is a circle, the damage range includes the release position and a plurality of hexagonal scene units centered on the release range, and the outline of the plurality of hexagonal scene units is relatively close to a circle.

[0032] The trigger operation is a user operation acting on the skill button received by the client, and the client generates a trigger command based on the received user operation. Exemplarily, the user operation may be at least one of an operation on a user interface control, a voice operation, a motion operation, a character operation, a mouse operation, a keyboard operation, and a game stick operation.

[0033] Exemplarily, in step S202, in the graphical user interface or in a specified window in the graphical user interface, the user triggers a skill control and controls the target character to release the target skill. According to the user's trigger operation, the release position and damage range of the target skill are determined. Specifically, the release position may be determined by the position of the hexagonal scene unit where the skill release point is located, and the damage range may be determined by the set of the positions of the hexagonal scene unit covered by the damage distance of the skill. Here, the release position and the damage range are positioned with the hexagonal scene unit as the smallest unit, and the damage range area and the virtual scene are highly aligned, improving the accuracy of the damage range.

[0034] In step S204, directional information of the skill indicator of the target skill is determined based on the relative positions of the multiple designated scene units in the damage range.

[0035] As mentioned above, the skill indicator has a certain size and a determined direction, and is used to indicate the damage range after the target skill is released. The indicator shape is generally the same as the damage shape of the skill, including a rectangular indicator, a circular indicator, a sector indicator, and a tapered indicator. The damage range indicated by the skill indicator includes a plurality of hexagonal scene units, with the hexagonal scene unit being the smallest measurement unit, and the direction information of the skill indicator is determined based on the relative positions of the plurality of designated scene units in the damage range, specifically, the target scene unit farthest from the release position in the damage range is obtained, and the direction information of the skill indicator of the target skill can be determined based on the relationship between the connection line between the target scene unit and the release position and the sides and corners of the hexagon.

[0036] Specifically, when the damage shape of the skill is a circle, the directional information of the skill indicator may be the direction of one diameter of the circle, and when the damage shape of the skill is another shape, the directional information of the skill indicator is usually related to the direction of the skill release. For example, when the damage shape is a rectangle, the directional information of the skill indicator is the direction of the longitudinal center line of the rectangle.

[0037] In step S206, a skill indicator is generated and displayed based on indicator parameters preset for the target skill, with the release position as a reference, along the direction indicated by the direction information.

[0038] The indicator parameters preset for the target skill are size parameters, shape parameters, etc. of the skill indicator, and can be determined and preset based on the damage shape and damage distance of the target skill. Specifically, the size parameters of the skill indicator are preset according to the damage shape of the target skill, and different size parameters are preset for different damage shapes, and the parameter numerical size of the skill indicator can be preset according to the damage distance.

[0039] Furthermore, the skill indicator is generated and displayed along the direction indicated by the direction information according to the preset size parameter size, starting from the emission position. In this case, the hexagonal scene unit is used as the smallest measurement unit for the display calculation of the skill indicator, which is highly compatible with the virtual scene structure connected in a hexagon, improves the indication effect of the skill indicator, and further improves the user's man-machine interaction efficiency.

[0040] The above-mentioned method for displaying a skill indicator includes providing a graphical user interface by a terminal device, displaying a virtual scene on the graphical user interface, the virtual scene being composed of a plurality of scene units arranged continuously, each of which is a hexagon, and determining an emission position and damage range of the target skill in response to a trigger operation on a target skill, wherein the emission position is one scene unit in the virtual scene, the emission position is located in the damage range, the damage range including a plurality of scene units, determining directional information of the skill indicator of the target skill based on the relative positions of the plurality of specified scene units in the damage range, and generating and displaying a skill indicator along a direction indicated by the directional information, based on indicator parameters preset for the target skill, with the emission position as a reference. In this method, the skill release position and damage range are determined in hexagonal scene units, directional information is determined based on the specified scene units in the damage range, and a skill indicator is generated and displayed based on parameters such as directional information and release position. The skill indicator and the skill damage range generated in this method have a high degree of matching, which is advantageous for users to quickly determine whether a certain hexagonal area has been attacked based on the skill indicator, and the skill damage range is accurately and clearly indicated, which improves the indicating effect of the skill indicator and further improves the user's man-machine interaction efficiency.

[0041] The following embodiment provides a specific implementation for determining the release location and damage range of a target skill.

[0042] In response to a drag operation acting on the skill control of the target skill, the release position of the target skill is determined based on the drag position of the skill control, and in a hexagonal coordinate system of the virtual scene, coordinate information for each scene unit in the damage range of the target skill is determined based on a damage range parameter and the release position preset for the target skill, and the coordinate information for each scene unit in the damage range of the target skill is determined as the damage range of the target skill.

[0043] First, the user drags the skill control to control and move the control between hexagonal scene units in the virtual scene, and the real-time position of the skill control is the release position where the user controls the target character to release the target skill. Note that if the user drags the skill control to move it in the virtual scene, the skill control is not released and the skill is not released.

[0044] Next, in the hexagonal coordinate system of the virtual scene, determine the coordinate information of each scene unit in the damage range of the target skill based on the damage range parameter and emission position preset for the target skill, where the hexagonal coordinate system is a coordinate system extended in three directions of the hexagonal scene unit in the scene, and take the virtual scene connected with regular hexagonal scene units as an example as shown in Figure 3, in the virtual scene, the regular hexagonal scene unit is taken as one measurement unit, and a regular hexagon (the part filled with dots in the figure) is established as the coordinate origin to represent each scene unit position in the scene, and thus each object position in the virtual scene can be represented by the coordinate of the corresponding scene unit. The preset damage range parameter refers to the relative coordinate parameter of the damage range preset for the target skill, and can be read from the relative coordinate set of the damage range based on the damage shape and damage distance parameters of the target skill.

[0045] In one embodiment, the relative coordinate set of the damage range is a coordinate set of the damage range corresponding to each release position set based on skill parameters of different damage shapes and damage distances in a hexagonal coordinate system, and the set is obtained by calculating the relative coordinates with the release position as the origin. Furthermore, an addition process can be performed based on the read pre-set damage range parameters and the coordinates of the skill release position positioned in the hexagonal coordinate system to obtain the coordinate information of each scene in the skill damage range.

[0046] Finally, the damage range of the target skill is shown as a set of coordinates for each scene within the above damage range.

[0047] In this step, the hexagonal coordinates are used to accurately position the release position and damage range of the target skill, and the method of obtaining the coordinates of the damage range by the relative coordinates of the preset damage range is simple and convenient, and greatly reduces the calculation pressure of the computer.

[0048] The following embodiment provides a specific implementation of determining the directional information of a skill indicator.

[0049] The target scene unit that is farthest from the emission position in the damage range is obtained, and directional information of the skill indicator of the target skill is determined based on the relationship between the connecting line between the target scene unit and the emission position and the sides and corners of the hexagon.

[0050] The target scene unit farthest from the emission position may be one or more. Taking one target scene unit as an example, the relationship between the connection line between the target scene unit and the emission position and the sides and corners of the hexagon may include multiple types, for example, the connection line between the target scene unit and the emission position may be perpendicular to any side of the hexagonal scene unit, may pass through any corner of the hexagonal scene unit, or may not be perpendicular to any side or pass through any corner.

[0051] If the connection line between the target scene unit and the emission position is perpendicular to any side of the hexagonal scene unit or passes through any corner of the hexagonal scene unit, the direction of the connection line between the target scene unit and the emission position can be the direction information of the skill indicator. If the connection line between the target scene unit and the emission position is not perpendicular to any side of the hexagonal scene unit or does not pass through any corner of the hexagonal scene unit, multiple target scene units need to be obtained, and the connection line between the center point of the multiple target scene units and the emission position is perpendicular to any side of the hexagonal scene unit or passes through any corner of the hexagonal scene unit.

[0052] For ease of understanding, FIG. 4 shows an example in which A is the position of the target character, and the area in which scene units 1-10 are located is the damage range in which the target skill gives the first target scene unit as the release position, and the damage distance is the damage range in which the target skill gives the four scene units. Here, the tenth target scene is determined as the target scene unit that is the furthest from the release position. Furthermore, the direction information of the skill indicator of the target skill is determined based on the relationship between the connection line between the target scene unit and the release position and the sides and corners of the hexagon.

[0053] Specifically, when the connection line between the target scene unit and the release position satisfies a specified condition, the direction information of the skill indicator of the target skill is determined based on the target scene unit and the release position, where the specified condition includes that the connection line between the target scene unit and the release position is perpendicular to any side of the hexagon or passes through any corner of the hexagon; when the connection line between the target scene unit and the release position does not satisfy the specified condition, the direction information of the skill indicator of the target skill is determined based on the target scene unit, the adjacent scene units of the target scene unit, and the release position, where the distance between the adjacent scene units and the release position is not smaller than the distance between the scene units other than the target scene unit and the release position in the damage range. The adjacent scene units can be understood to be the scene units farthest from the release side in the scene units other than the target scene unit. The distance between the adjacent scene units and the release position may be the same as or different from the distance between the target scene unit and the release unit.

[0054] The perpendicular positional relationship between the connection line between the target scene unit and the emission position and any one side of the hexagon can be diagrammatically shown by the positional relationship of the line segments in Figure 5, and the positional relationship in which the connection line between the target scene unit and the emission position passes through any one corner of the hexagon can be diagrammatically shown by the positional relationship of the line segments in Figure 6.

[0055] In one embodiment, the position coordinates of the scene units in the hexagonal coordinate system can be used to determine whether the connection line between the target scene units and the emission position satisfies the above-mentioned specified condition. Specifically, the coordinates of the emission position are (a1, b1, c1), the coordinates of the target scene units are (a2, b2, c2), and the difference values ​​in each direction, i.e., d a =a2-a1,d b =b2-b1,d c Calculate =c2-c1, and d a , d b , d c If only one of is 0, then explain that the connection line between the target scene unit and the emission position is perpendicular to any side of the hexagon, and da , d b , d c If none of the three are zero, but only two of the three are equal, then the connection line between the target scene unit and the emission position passes through any one corner of the hexagon, and d a , d b , d c If the above three are different from each other, the connection line between the target scene unit and the emission position does not satisfy the above specified condition.

[0056] According to the case where the connecting line between the target scene unit and the release position meets the specified condition, the direction information of the skill indicator is calculated using different methods. Specifically, taking FIG. 4 as an example, when the connecting line between the target scene unit and the release position meets the specified condition, the direction information of the skill indicator of the target skill is determined based on the positions of the hexagonal scene units No. 1 and No. 10; when the connecting line between the target scene unit and the release position does not meet the specified condition, the position distance between the 9th and 1st scene units is not smaller than the distance between the scene units other than the 10th scene unit in the damage range and No. 1, and the adjacent scene unit should be the 9th hexagonal scene unit, so the direction information of the skill indicator of the target skill is determined based on the positions of the 10th, 9th, and 1st hexagonal scene units.

[0057] The specific calculation method for determining the direction information of the skill indicator of the target skill will be described below. In one embodiment, when the connection line between the target scene unit and the emission position satisfies a specified condition, the difference between the coordinate information of the target scene unit and the emission position is determined as the direction information of the skill indicator of the target skill.

[0058] Specifically, when the connection line between the target scene unit and the emission position satisfies the specified condition, if the coordinates of the emission position in the coordinate set of the damage range are (a1, b1, c1) and the coordinates of the target scene unit are (a2, b2, c2), the directional information of the skill indicator is (a 2― a1,b 2― b1,c 2―c1). The direction of the connection line between the target scene unit and the emission position can be understood as the direction information of the skill indicator.

[0059] In another aspect, if the connection line between the target scene unit and the release position does not satisfy the specified condition, the sum of the coordinate information between the target scene unit and the adjacent scene unit is calculated, an intermediate result is obtained, and the difference in coordinate information between the intermediate result and the release position is determined as the directional information of the skill indicator of the target skill.

[0060] Specifically, if the connection line between the target scene unit and the release position does not satisfy the specified conditions, if the coordinates of the release position are (a1, b1, c1), the coordinates of the target scene unit are (a2, b2, c2), and the coordinates of the adjacent scene unit are (a3, b3, c3), the directional information of the skill indicator is (a2+a3-2a1, b2+b3-2b1, c2+c3-2c1).

[0061] The following examples provide specific implementations of displaying skill indicators.

[0062] Based on the shape of the damage range and the damage distance of the target skill, a size parameter of the skill indicator is determined, and a skill indicator is generated and displayed starting from the emission position along the direction indicated by the direction information, where the display size of the skill indicator matches the size parameter.

[0063] Specifically, the shape of the skill indicator is consistent with the damage shape of the target skill, and different size parameters are preset for different damage range shapes, for example, the indicator length and width parameters are set for a rectangular damage shape, and the radius parameters are set for fan-shaped, tapered, and circular damage shapes. The parameter values ​​of the skill indicator are preset based on the skill damage distance, and in one embodiment, taking a rectangle as an example, the damage distance can reach up to four scene units, the indicator width is kept such that the side length of three scene units remains unchanged, and when the damage distance increases from one scene unit to four scene units, the indicator length is 1.5, 3, 4.75, and 6.25 scene units, respectively. Furthermore, the skill indicator is generated and displayed along the direction indicated by the direction information starting from the emission position.

[0064] For easy understanding, Fig. 7 shows a schematic diagram of a rectangular indicator indicating a damage range in one embodiment, where the rectangle filled with horizontal lines in the schematic diagram is the generated rectangular indicator, the area connected by the dotted hexagons is the damage range indicated by the indicator, the dashed arrow direction is the directional information of the indicator, and the solid arrow direction is the release direction of the target skill. As can be seen from Fig. 7, the skill indicator generated by the method of this embodiment has a high IoU (Intersection-over-Union) with the damage range of the skill, that is, the skill indicator and the damage range have a high matching degree, and the skill indicator can clearly indicate which hexagonal scene unit is attacked by the target skill.

[0065] This embodiment provides another specific implementation scheme, and the data processing logic process of this scheme is shown in Figure 8. The skill indicator display process will be described in detail below.

[0066] 1) Get the set of coordinates of the actual damage area.

[0067] As shown in Figure 7, A is the position of the target character, and the area in which scene units 1-10 are located is the damage range caused by the target character releasing a skill with a damage distance of three scene units, with hexagon number 1, which has a distance of three scene units, as the release position. A hexagonal scene unit is taken as the smallest measurement unit, and the emission position is taken as the origin, and a hexagonal coordinate system is established, and the damage range coordinates consisting of the 10 scene units are 1-(0,0,0), 2-(1,-1,0), 3-(-1,1,0), 4-(1,0,-1), 5-(0,1,-1), 6-(0,2,-2), 7-(2,0,-2), 8-(1,1,-2), 9-(2,1,-3), and 10-(1,2,-3). Here, the 10th scene unit is determined to be the farthest from the emission position and to be the target scene unit, and the position distance between the 9th and 1st scene units is not smaller than the distance between the 1st and the scene units other than the 10th scene unit in the damage range, and the 9th scene unit is determined to be the adjacent scene unit.

[0068] 2) Based on the position coordinates, determine whether the connection line between the target scene unit and the emission position satisfies a condition.

[0069] The coordinates of the emission position within the damage range are (0,0,0), and the coordinates of the target scene unit are (1,2,-3). Calculate the difference value in each direction respectively, and a =1,d b =3,d c = -3, and d a , d b , d c are not 0 and are different from each other, and the connection line between the target scene unit and the emission position does not satisfy the specified condition.

[0070] 3) Based on the judgment result, the direction information of the indicator is calculated using the coordinates of the target scene unit, the coordinates of the adjacent scene units, and the coordinates of the emission position.

[0071] If the coordinates of the emission position within the damage range set are (a1, b1, c1) = (0, 0, 0), the coordinates of the target scene unit are (a2, b2, c2) = (1, 2, -3), and the coordinates of the adjacent scene unit are (a3, b3, c3) = (2, 1, -3), then the directional vector of the skill indicator is (a2 + a3 - 2a1, b2 + b3 - 2b1, c2 + c3 - 2c1) = (3, 3, -6).

[0072] 4) Obtaining preset indicator parameters based on the damage shape and length.

[0073] As stated above, if the damage distance is 3 scene units, the rectangular indicator's length is 4.75 scene units on a side, and its width is 3 scene units on a side.

[0074] 5) Calculate and display the specific position of the indicator.

[0075] The coordinates of the emission position (0,0,0) are used as the center start point of the rectangle, (3,3,-6) is used as the direction, and the skill indicator is generated and displayed with the side lengths of 4.75 scene units, the side lengths of 3 scene units, and the width parameter values.

[0076] It should be noted that at the same time as the indicator is displayed, the damage range indicated by the indicator is highlighted.

[0077] In the above-mentioned skill indicator display method, the display range of the skill indicator is accurately calculated based on the preset size of the skill indicator and the calculated direction information, thereby accurately and clearly displaying the damage range, improving the indication effect of the skill indicator, and further improving the efficiency of the user's man-machine interaction.

[0078] It should be noted that although the steps of the method for displaying a skill indicator in the present disclosure are described in a particular order in the drawings, this does not necessarily require or imply that the steps must be performed in this particular order, or that all steps must be performed to achieve a desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined and performed into a single step, and / or a single step may be broken down into multiple steps, etc.

[0079] Corresponding to an embodiment of the above method, referring to the schematic diagram of a display device of a skill indicator shown in Figure 9, a graphical user interface is provided by a terminal device, a virtual scene is displayed on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged continuously, the scene units are hexagonal, and the device includes the following modules:

[0080] The first determination module 902 is configured to determine a release location and a damage range of the target skill in response to a trigger operation on the target skill, where the release location is one scene unit in the virtual scene, the release location is located in the damage range, and the damage range includes multiple scene units.

[0081] The second determination module 904 is configured to determine directional information of the skill indicator of the target skill based on the relative positions of the multiple specified scene units in the damage range.

[0082] The display module 906 is configured to generate and display a skill indicator based on indicator parameters preset for the target skill, with the release position as a reference, along a direction indicated by the directional information.

[0083] The skill indicator display device is provided with a graphical user interface by a terminal device, and displays a virtual scene on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged in succession, the scene units being hexagonal, and in response to a trigger operation on a target skill, a release position and a damage range of the target skill are determined, the release position is one scene unit in the virtual scene, the release position is located in the damage range, the damage range includes a plurality of scene units, and based on the relative positions of the plurality of designated scene units in the damage range, directional information of the skill indicator of the target skill is determined, and based on indicator parameters preset for the target skill, a skill indicator is generated and displayed along a direction indicated by the directional information with the release position as a reference. In this method, the skill indicator is accurately generated and displayed with the hexagonal scene unit as the smallest measurement unit, the damage range is accurately and clearly displayed, the indication effect of the skill indicator is improved, and the user's man-machine interaction efficiency is further improved.

[0084] Optionally, the first determination module 902 is further configured to, in response to a drag operation acting on the skill control of the target skill, determine a release position of the target skill based on a drag position of the skill control, determine coordinate information of each scene unit in the damage range of the target skill based on a damage range parameter and the release position preset for the target skill in a hexagonal coordinate system of the virtual scene, and determine the coordinate information of each scene unit in the damage range of the target skill as the damage range of the target skill.

[0085] Optionally, the second determination module 904 is further configured to obtain a target scene unit that is farthest from the emission position in the damage range, and determine directional information of the skill indicator of the target skill based on the relationship between the connecting line between the target scene unit and the emission position and the sides and corners of the hexagon.

[0086] Optionally, the second determination module 904 is further configured to determine directional information of the skill indicator of the target skill based on the target scene unit and the release position when the connection line between the target scene unit and the release position satisfies a specified condition, where the specified condition includes that the connection line between the target scene unit and the release position is perpendicular to any side of the hexagon or passes through any corner of the hexagon, and to determine directional information of the skill indicator of the target skill based on the target scene unit, adjacent scene units of the target scene unit, and the release position when the connection line between the target scene unit and the release position does not satisfy the specified condition, where the distance between the adjacent scene units and the release position is not smaller than the distance between the scene units other than the target scene unit in the damage range and the release position.

[0087] Optionally, the second determination module 904 is further configured to determine the difference in coordinate information between the target scene unit and the emission position as the directional information of the skill indicator of the target skill when the connecting line between the target scene unit and the emission position satisfies a specified condition.

[0088] Optionally, the above-mentioned second determination module 904 is further configured to calculate the sum of the coordinate information between the target scene unit and the adjacent scene unit when the connecting line between the target scene unit and the emission position does not satisfy the specified condition, obtain an intermediate result, and determine the difference between the coordinate information between the intermediate result and the emission position as the directional information of the skill indicator of the target skill.

[0089] Optionally, the display module 906 is further configured to determine size parameters of the skill indicator based on the shape of the damage range and the damage distance of the target skill, and generate and display the skill indicator starting from the release position along the direction indicated by the direction information, where the display size of the skill indicator matches the size parameters.

[0090] The specific implementation of each module in the above-mentioned skill indicator display device has already been described in the corresponding skill indicator display method, and the description thereof will be omitted here.

[0091] The embodiment further provides an electronic device including a processor and a memory, the memory storing device executable instructions executable by the processor, and the processor executing the device executable instructions to realize the method for displaying the skill indicator. The electronic device may be a server or a terminal device.

[0092] As shown in FIG. 10, the electronic device includes a processor 100 and a memory 101, the memory 101 stores device executable instructions executable by the processor 100, and the processor 100 executes the device executable instructions to realize the above-mentioned skill indicator display method.

[0093] Furthermore, the electronic device shown in FIG. 10 further includes a bus 102 and a communication interface 103 , where the processor 100 , the communication interface 103 and the memory 101 are connected by the bus 102 .

[0094] Here, the memory 101 may be composed of a high-speed random access memory (RAM) or may be composed of at least one non-volatile memory such as a disk memory. The communication connection between this system element and at least one other element is realized via at least one communication interface 103 (which may be wired or wireless), and may use the Internet, a wide area network, a local network, a metropolitan area network, etc. The bus 102 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus is divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only one bidirectional arrow is used in FIG. 10, but this does not mean that there is only one bus or only one type of bus.

[0095] The processor 100 may be an integrated circuit chip having a function of processing signals. In implementation, the steps of the above method may be accomplished by integrated logic circuits of the hardware of the processor 100 or by instructions in the form of software. The above processor 100 may be a general-purpose processor such as a CPU (Central Processing Unit), NP (Network Processor), or other programmable logic devices such as DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), discrete gate and transistor logic devices, discrete hardware components, etc. Each method, step, and logic block diagram disclosed in the embodiments of the present disclosure may be realized or executed. The general-purpose processor may be a microprocessor, and the processor may be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure may be directly embodied in a hardware decoding processing device, or may be executed by a combination of hardware modules and software modules of the decoding processing device. The software modules may be located in random memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, and other storage media well established in the art.The storage medium is located in memory 101, and processor 100 reads information in memory 101 and combines with the hardware to complete the steps of the skill indicator display method of the embodiment, for example, a graphical user interface is provided by a terminal device, a virtual scene is displayed on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged continuously, the scene units are hexagonal, and the skill indicator display method includes a step of determining a release position and a damage range of the target skill in response to a trigger operation on a target skill, the release position being one scene unit in the virtual scene, the release position being located in the damage range, and the damage range including a plurality of scene units, a step of determining directional information of the skill indicator of the target skill based on the relative positions of a plurality of specified scene units in the damage range, and a step of generating and displaying the skill indicator based on indicator parameters preset for the target skill, based on the release position as a reference and along a direction indicated by the directional information.

[0096] Optionally, the step of determining the release position and damage range of the target skill in response to a trigger operation on the target skill includes the steps of: determining the release position of the target skill based on a drag position of the skill control in response to a drag operation acting on the skill control of the target skill; determining coordinate information for each scene unit in the damage range of the target skill based on a damage range parameter preset for the target skill and the release position in a hexagonal coordinate system of the virtual scene; and determining the coordinate information for each scene unit in the damage range of the target skill as the damage range of the target skill.

[0097] Optionally, the step of determining directional information of a skill indicator of the target skill based on the relative positions of a plurality of designated scene units in the damage range includes the steps of obtaining a target scene unit that is farthest from the emission position in the damage range, and determining directional information of a skill indicator of the target skill based on a relationship between a connection line between the target scene unit and the emission position and the sides and corners of the hexagon.

[0098] Optionally, the step of determining directional information of a skill indicator of the target skill based on the relationship between the connecting line between the target scene unit and the release position and the sides and corners of the hexagon includes a step of determining directional information of a skill indicator of the target skill based on the target scene unit and the release position when the connecting line between the target scene unit and the release position satisfies a specified condition, the specified condition including that the connecting line between the target scene unit and the release position is perpendicular to any side of the hexagon or passes through any corner of the hexagon, and a step of determining directional information of a skill indicator of the target skill based on the target scene unit, an adjacent scene unit of the target scene unit, and the release position when the connecting line between the target scene unit and the release position does not satisfy the specified condition, the step of determining directional information of a skill indicator of the target skill based on the target scene unit, an adjacent scene unit of the target scene unit, and the release position, the distance between the adjacent scene unit and the release position being not smaller than the distance between the release position and a scene unit other than the target scene unit in the damage range.

[0099] Optionally, when the connection line between the target scene unit and the release position satisfies a specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit and the release position includes a step of determining a difference in coordinate information between the target scene unit and the release position as the directional information of the skill indicator of the target skill when the connection line between the target scene unit and the release position satisfies a specified condition.

[0100] Optionally, when the connection line between the target scene unit and the release position does not satisfy the specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit, the adjacent scene units of the target scene unit, and the release position includes the step of calculating the sum of coordinate information between the target scene unit and the adjacent scene units and obtaining an intermediate result when the connection line between the target scene unit and the release position does not satisfy the specified condition, and the step of determining the difference between the coordinate information of the intermediate result and the release position as the directional information of the skill indicator of the target skill.

[0101] Optionally, the step of generating and displaying the skill indicator along a direction indicated by the directional information with the release position as a reference based on indicator parameters preset for the target skill includes the steps of determining size parameters of the skill indicator based on a damage range shape and damage distance of the target skill, and generating and displaying the skill indicator along a direction indicated by the directional information with the release position as a starting point, wherein the display size of the skill indicator matches the size parameters.

[0102] According to the above embodiment, the skill release position and damage range are determined in hexagonal scene units, directional information is determined based on the specified scene units in the damage range, and a skill indicator is generated and displayed based on parameters such as directional information and release position. The skill indicator and the skill damage range generated in this manner have a high matching degree, which is advantageous for users to quickly determine whether a certain hexagonal area has been attacked based on the skill indicator, and the skill damage range is accurately and clearly indicated, which improves the indicating effect of the skill indicator and further improves the user's man-machine interaction efficiency.

[0103] This embodiment provides a machine-readable storage medium on which machine-executable instructions are stored, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to realize the above-mentioned skill indicator display method, for example, a graphical user interface is provided by a terminal device, a virtual scene is displayed on the graphical user interface, the virtual scene is composed of a plurality of scene units arranged continuously, the scene units are hexagonal, and the skill indicator display method includes the steps of: determining an emission position and a damage range of the target skill in response to a trigger operation on a target skill, the emission position being one scene unit in the virtual scene, the emission position being located in the damage range, and the damage range including a plurality of scene units; determining directional information of the skill indicator of the target skill based on the relative positions of a plurality of specified scene units in the damage range; and generating and displaying the skill indicator based on indicator parameters preset for the target skill, based on the emission position as a reference and along a direction indicated by the directional information.

[0104] Optionally, the step of determining the release position and damage range of the target skill in response to a trigger operation on the target skill includes the steps of: determining the release position of the target skill based on a drag position of the skill control in response to a drag operation acting on the skill control of the target skill; determining coordinate information for each scene unit in the damage range of the target skill based on a damage range parameter preset for the target skill and the release position in a hexagonal coordinate system of the virtual scene; and determining the coordinate information for each scene unit in the damage range of the target skill as the damage range of the target skill.

[0105] Optionally, the step of determining directional information of a skill indicator of the target skill based on the relative positions of a plurality of designated scene units in the damage range includes the steps of obtaining a target scene unit that is farthest from the emission position in the damage range, and determining directional information of a skill indicator of the target skill based on a relationship between a connection line between the target scene unit and the emission position and the sides and corners of the hexagon.

[0106] Optionally, the step of determining directional information of a skill indicator of the target skill based on the relationship between the connecting line between the target scene unit and the release position and the sides and corners of the hexagon includes a step of determining directional information of a skill indicator of the target skill based on the target scene unit and the release position when the connecting line between the target scene unit and the release position satisfies a specified condition, the specified condition including that the connecting line between the target scene unit and the release position is perpendicular to any side of the hexagon or passes through any corner of the hexagon, and a step of determining directional information of a skill indicator of the target skill based on the target scene unit, an adjacent scene unit of the target scene unit, and the release position when the connecting line between the target scene unit and the release position does not satisfy the specified condition, the step of determining directional information of a skill indicator of the target skill based on the target scene unit, an adjacent scene unit of the target scene unit, and the release position, the distance between the adjacent scene unit and the release position being not smaller than the distance between the release position and a scene unit other than the target scene unit in the damage range.

[0107] Optionally, when the connection line between the target scene unit and the release position satisfies a specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit and the release position includes a step of determining a difference in coordinate information between the target scene unit and the release position as the directional information of the skill indicator of the target skill when the connection line between the target scene unit and the release position satisfies a specified condition.

[0108] Optionally, when the connection line between the target scene unit and the release position does not satisfy the specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit, the adjacent scene units of the target scene unit, and the release position includes the step of calculating the sum of coordinate information between the target scene unit and the adjacent scene units and obtaining an intermediate result when the connection line between the target scene unit and the release position does not satisfy the specified condition, and the step of determining the difference between the coordinate information of the intermediate result and the release position as the directional information of the skill indicator of the target skill.

[0109] Optionally, the step of generating and displaying the skill indicator along a direction indicated by the directional information with the release position as a reference based on indicator parameters preset for the target skill includes the steps of determining size parameters of the skill indicator based on a damage range shape and damage distance of the target skill, and generating and displaying the skill indicator along a direction indicated by the directional information with the release position as a starting point, wherein the display size of the skill indicator matches the size parameters.

[0110] According to the above embodiment, the skill release position and damage range are determined in hexagonal scene units, directional information is determined based on the specified scene units in the damage range, and a skill indicator is generated and displayed based on parameters such as directional information and release position. The skill indicator and the skill damage range generated in this manner have a high matching degree, which is advantageous for users to quickly determine whether a certain hexagonal area has been attacked based on the skill indicator, and the skill damage range is accurately and clearly indicated, which improves the indicating effect of the skill indicator and further improves the user's man-machine interaction efficiency.

[0111] A computer program product of a method, apparatus and system for displaying a skill indicator according to an embodiment of the present disclosure comprises a computer-readable storage medium having program code stored thereon, the program code including instructions that can be used to execute the method described in the previous method embodiment, the specific implementation method of which is described in the method embodiment and will not be described here.

[0112] As will be apparent to those skilled in the art, for convenience and conciseness of description, the specific work processes of the above-described systems and apparatuses may refer to the corresponding processes in the preceding method embodiments, and the description will be omitted here.

[0113] Furthermore, in the description of the embodiments of the present application, unless otherwise expressly specified and limited, the terms "mounted," "connected," and "coupled" are to be understood in a broad sense, such as a fixed connection, a detachable connection, or an integral connection, a mechanical connection or an electrical connection, a direct connection or an indirect connection through an intermediate medium, or an internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in the context of the present application in a specific case.

[0114] The described functions may be implemented in the form of a software functional unit and stored in a computer-readable storage medium when sold or used as a separate product. It is understood that the technical solution of the present application, or that part of the technical solution that essentially or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium that includes a number of instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium may be various media that can store program codes, such as a USB memory, a removable hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a diskette, or a CD-ROM.

[0115] In the description of this application, orientations or positions indicated as "center," "up," "down," "left," "right," "vertical," "horizontal," "inside," "outside," etc., are based on orientations or positions indicated in the accompanying drawings and are intended only to facilitate and simplify the description of this disclosure, and do not imply or suggest that the devices or elements referred to have a particular orientation or must be constructed or operate in a particular orientation, and therefore should not be construed as limiting this application. Additionally, the terms "first," "second," and "third" are used for descriptive purposes only and do not imply or indicate any relative importance.

[0116] Finally, it should be noted that the above examples, which are merely specific examples of the present disclosure, are intended to illustrate the technical solutions of the present disclosure, but do not limit them, and the scope of protection of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the above examples, those skilled in the art should understand that within the technical scope disclosed in the present disclosure, the following is possible. The technical solutions recorded in the above examples can be modified or easily considered as a modification of some of its technical features, or an equivalent replacement, and such modifications, modifications or replacements do not cause the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and shall be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure is subject to the scope of protection of the claims.

Claims

1. A method for displaying a skill indicator, the method comprising: providing a graphical user interface by a terminal device; displaying a virtual scene on the graphical user interface; the virtual scene being composed of a plurality of scene units arranged in a continuous manner; and the scene units being hexagonal, In response to a trigger operation for a target skill, a step of determining a release position and a damage range of the target skill, the release position being one scene unit in the virtual scene, the release position being located in the damage range, and the damage range including a plurality of scene units; Determining directional information of a skill indicator of the target skill based on the relative positions of a plurality of designated scene units in the damage range; and generating and displaying the skill indicator along a direction indicated by the direction information based on the release position based on indicator parameters preset for the target skill. A method for displaying a skill indicator, comprising:

2. The step of determining a release position and a damage range of the target skill in response to a trigger operation on the target skill includes: In response to a drag operation acting on a skill control of a target skill, determining a release position of the target skill based on a drag position of the skill control; In the hexagonal coordinate system of the virtual scene, determining coordinate information for each scene in the damage range of the target skill based on a damage range parameter preset for the target skill and the emission position; The step of determining the coordinate information of each scene in the damage range of the target skill as the damage range of the target skill, 2. The method for displaying a skill indicator according to claim 1 .

3. The step of determining directional information of a skill indicator of the target skill based on the relative positions of a plurality of designated scene units in the damage range includes: obtaining a target scene unit that is farthest from the emission location within the damage range; and determining directional information of a skill indicator of the target skill based on a relationship between a connection line between the target scene unit and the emission position and the sides and corners of the hexagon.

2. The method for displaying a skill indicator according to claim 1 .

4. The step of determining directional information of the skill indicator of the target skill based on the relationship between the connection line between the target scene unit and the emission position and the sides and corners of the hexagon, A step of determining directional information of a skill indicator of the target skill based on the target scene unit and the release position when the connection line between the target scene unit and the release position satisfies a specified condition, the specified condition including that the connection line between the target scene unit and the release position is perpendicular to any one side of the hexagon or passes through any one corner of the hexagon; if the connection line between the target scene unit and the release position does not satisfy the specified condition, determining directional information of a skill indicator of the target skill based on the target scene unit, the adjacent scene units of the target scene unit, and the release position, wherein the distance between the adjacent scene units and the release position is not smaller than the distance between the scene units other than the target scene unit in the damage range and the release position; 4. The method for displaying a skill indicator according to claim 3.

5. When the connection line between the target scene unit and the emission position satisfies a specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit and the emission position includes: When the connection line between the target scene unit and the release position satisfies a specified condition, a difference in coordinate information between the target scene unit and the release position is determined as directional information of the skill indicator of the target skill.

5. The method for displaying a skill indicator according to claim 4.

6. When the connection line between the target scene unit and the emission position does not satisfy the specified condition, the step of determining directional information of the skill indicator of the target skill based on the target scene unit, the adjacent scene units of the target scene unit, and the emission position includes: if the connection line between the target scene unit and the emission position does not satisfy the specified condition, calculating the sum of coordinate information between the target scene unit and the adjacent scene unit to obtain an intermediate result; determining a difference in coordinate information between the intermediate result and the release position as directional information of the skill indicator of the target skill; 5. The method for displaying a skill indicator according to claim 4.

7. A step of generating and displaying the skill indicator along a direction indicated by the direction information with respect to the release position based on an indicator parameter preset for the target skill, determining a size parameter of the skill indicator according to the damage range shape and damage distance of the target skill; generating and displaying the skill indicator along a direction indicated by the direction information, starting from the release position; The display size of the skill indicator matches the size parameter.

2. The method for displaying a skill indicator according to claim 1 .

8. A display device for a skill indicator, the display device providing a graphical user interface by a terminal device, the graphical user interface displaying a virtual scene, the virtual scene being composed of a plurality of scene units arranged in a continuous manner, the scene units being hexagonal, The skill indicator display device comprises a first determination module, a second determination module, and a display module; The first determination module is configured to determine a release position and a damage range of the target skill in response to a trigger operation on the target skill, the release position being one scene unit in the virtual scene, the release position being located in the damage range, and the damage range including a plurality of scene units; The second determination module is configured to determine directional information of a skill indicator of the target skill based on the relative positions of a plurality of designated scene units in the damage range; The display module is configured to generate and display the skill indicator along a direction indicated by the direction information based on the release position based on indicator parameters preset for the target skill; A skill indicator display device characterized by:

9. An electronic device including a processor and a memory, The memory stores an apparatus executable instruction executable by the processor, and the processor executes the apparatus executable instruction to realize the method for displaying a skill indicator according to any one of claims 1 to 7.

1. An electronic device comprising:

10. A machine-readable storage medium having machine-executable instructions stored thereon, the machine-executable instructions, when invoked and executed by a processor, causing the processor to implement a method for displaying a skill indicator according to any one of claims 1 to 7. A machine-readable storage medium.

Citation Information

Patent Citations

  • Method and device for displaying aiming region of game weapon and electronic equipment

    CN109731326A

  • Virtual object control method, device and equipment, and computer readable storage medium

    CN113134232A

  • Data processing method and device, computer equipment and storage medium

    CN114082173A

  • Virtual environment screen display method, device, equipment, and computer program

    JP2022531764A

  • Tile selection and award determination sequence

    US20210316218A1