Information display method and device, storage medium and electronic device
By providing a graphical user interface and game skill identification set in the game scene, responding to selection and touch operations to determine the skill release range, the problem of numerous steps of game skill release operation is solved, and the efficiency of information display and skill release is improved.
Patent Information
- Application Number
- CN202411920618.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-12-24
AI Technical Summary
In game scenarios, there are many steps to release game skills to virtual objects. Only the release of game skills to a single virtual object can be achieved, and it is usually a click operation, resulting in inefficient information display.
The terminal device provides a graphical user interface to display the game scene and game skill identification set, respond to the selection operation of the game skill identification set, determine the operation information of the touch operation, determine the skill release range based on the operation information, and release the game skill to the virtual object in response to the skill trigger operation.
It realizes the selection of large-area skill release ranges through small-scale operations, reduces the operation steps of game skill release, improves the efficiency of skill release interaction process, and solves the problem of low information display efficiency.
Smart Images

Figure CN119733233A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information processing, and in particular, to an information display method, device, storage medium and electronic device. Background Art
[0002] Currently, in a game scene, when a game skill needs to be released to a virtual object, it is necessary to first select the virtual object, then select the game skill to be released, and finally confirm the release of the game skill.
[0003] The above operation steps are relatively large and can only release game skills to a single virtual object, and are usually click operations, so there is a technical problem of low efficiency in information display.
[0004] With respect to the problem of low efficiency of the above information display, no effective solution has been proposed yet. Summary of the invention
[0005] At least some embodiments of the present disclosure provide a method, device, storage medium and electronic device for displaying information, so as to at least solve the technical problem of low efficiency of information display.
[0006] According to one embodiment of the present disclosure, a method for displaying information is provided, wherein a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes at least part of a game scene and a game skill identification set, wherein the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate a game skill that is allowed to be released on the virtual object. The method includes: responding to a selection operation on the game skill identification set, selecting a target game skill identification from the game skill identification set; responding to a touch operation on the target game skill identification, determining operation information of the touch operation on the graphical user interface; determining a skill release range in the game scene based at least on the operation information; responding to a skill trigger operation on the graphical user interface, releasing a target game skill corresponding to the target game skill identification for at least one target virtual object in the skill release range.
[0007] According to one embodiment of the present disclosure, there is also provided an information display device, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes at least part of the game scene and the game skill identification set, the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate the game skills that are allowed to be released on the virtual object. The device may include: a selection unit, which is used to respond to the selection operation on the game skill identification set and select a target game skill identification from the game skill identification set; a first determination unit, which is used to respond to the touch operation on the target game skill identification and determine the operation information of the touch operation on the graphical user interface; a second determination unit, which is used to determine the skill release range in the game scene based on at least the operation information; a release unit, which is used to respond to the skill trigger operation acting on the graphical user interface and release the target game skill corresponding to the target game skill identification for at least one target virtual object in the skill release range.
[0008] According to one embodiment of the present disclosure, a computer-readable storage medium is further provided, wherein a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any of the above information display methods when running.
[0009] According to one embodiment of the present disclosure, an electronic device is also provided. The electronic device may include a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute any of the above information display methods.
[0010] According to one embodiment of the present disclosure, a computer program product is also provided. The computer program product may include a computer program, wherein the computer program is configured to execute any of the above information display methods when running.
[0011] According to one embodiment of the present disclosure, a computer program product is also provided. The computer program product may include a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and the computer program is configured to execute any of the above information display methods when running.
[0012] According to one embodiment of the present disclosure, a computer program is further provided, wherein the computer program is configured to execute any of the above information display methods when running.
[0013] In at least some embodiments of the present disclosure, a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface includes at least part of a game scene and a game skill identification set, the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate the game skills that are allowed to be released on the virtual object. In response to a selection operation on the game skill identification set, a target game skill identification is selected from the game skill identification set; in response to a touch operation on the target game skill identification, operation information of the touch operation on the graphical user interface is determined; at least based on the operation information, a skill release range is determined in the game scene; in response to a skill trigger operation acting on the graphical user interface, a target game skill corresponding to the target game skill identification is released for at least one target virtual object in the skill release range. That is to say, the embodiment of the present disclosure responds to the touch operation on the selected target game skill identifier, determines the operation information of the touch operation on the graphical user interface, determines the skill release range based on the operation information, and further responds to the skill trigger operation acting on the graphical user interface, and releases the target game skill to the target virtual object in the skill release range, thereby achieving the purpose of range selection of a large area (corresponding to the above-mentioned skill release range) through a small-range operation, reducing the release operation steps of the entire set of target game skills, making the interactive process of skill release more convenient, and thus achieving the technical effect of improving the efficiency of information display and solving the technical problem of low efficiency of information display. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present application. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:
[0015] Figure 1 is a hardware structure block diagram of a mobile terminal according to a method for displaying information in an embodiment of the present disclosure;
[0016] Figure 2 is a flow chart of a method for displaying information according to one embodiment of the present disclosure;
[0017] Figure 3 is a schematic diagram of selecting a virtual object in the related art;
[0018] Figure 4 It is a schematic diagram of selecting a game skill in the related art;
[0019] Figure 5 It is a schematic diagram of confirming the release of a game skill in the related art;
[0020] Figure 6is a schematic diagram of UI distribution logic in a game scene according to one embodiment of the present disclosure;
[0021] Figure 7 is a schematic diagram of selecting a game skill according to one embodiment of the present disclosure;
[0022] Figure 8 is a schematic diagram of a hidden skill option according to one embodiment of the present disclosure;
[0023] Fig. 9 is a schematic diagram of a target range positioning algorithm according to one embodiment of the present disclosure;
[0024] Fig.10 is a schematic diagram of a parabola display algorithm according to one embodiment of the present disclosure;
[0025] Fig.11 is a schematic diagram of a Bezier curve according to one embodiment of the present disclosure;
[0026] Fig.12 is a schematic diagram of a skill release area satisfying a release condition according to one embodiment of the present disclosure;
[0027] Fig.13 is a schematic diagram of a skill release area not satisfying a release condition according to one embodiment of the present disclosure;
[0028] Fig.14 is a schematic diagram of a secondary confirmation box according to one embodiment of the present disclosure;
[0029] Fig.15 is a structural block diagram of an information display device according to one embodiment of the present disclosure;
[0030] Fig.16 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the disclosed solution, the technical solution in the disclosed embodiment will be clearly and completely described below in conjunction with the drawings in the disclosed embodiment. Obviously, the described embodiment is only a part of the disclosed embodiment, not all of the embodiments. Based on the embodiments in the disclosed embodiment, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the disclosed embodiment.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0033] In a possible implementation, when it is necessary to release a game skill to a virtual object, the steps of selecting a virtual object, selecting the game skill to be released, and confirming the release of the game skill can usually be performed. However, after practice and careful research, the inventor found that if the above method is used to release a game skill to a virtual object, since the method can only release a game skill to a single virtual object and is usually a click operation, there is a technical problem of low efficiency in information display.
[0034] Based on the above, the disclosed embodiment proposes a method for displaying information, which responds to the touch operation on the selected target game skill identifier, determines the operation information of the touch operation on the graphical user interface, determines the skill release range based on the operation information, and further responds to the skill trigger operation acting on the graphical user interface, releases the target game skill to the target virtual object in the skill release range, thereby achieving the purpose of range selection of a large area (skill release range) through a small range operation, reducing the release operation steps of the entire set of target game skills, making the interactive process of skill release more convenient, and thus achieving the technical effect of improving the efficiency of information display.
[0035] Considering that in the related art, when releasing the game skill to the virtual object by selecting the virtual object, selecting the game skill to be released, and confirming the step of releasing the game skill, there is a technical problem of low efficiency of information display. However, in the embodiment of the present disclosure, in response to the selection operation for the game skill identification set, a target game skill identification is selected from the game skill identification set; in response to the touch operation for the target game skill identification, the operation information of the touch operation on the graphical user interface is determined; at least based on the operation information, the skill release range is determined in the game scene; in response to the skill trigger operation acting on the graphical user interface, the target game skill corresponding to the target game skill identification is released for at least one target virtual object in the skill release range, thereby achieving the technical effect of improving the efficiency of information display and solving the technical problem of low efficiency of information display.
[0036] According to one embodiment of the present disclosure, an embodiment of a method for displaying information is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] The method embodiment can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, the mobile terminal can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID for short), a tablet computer (PAD), a game console and other terminal devices. Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal according to an information display method of an embodiment of the present disclosure. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (the processor 102 may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a programmable logic device (Field Programmable Gate Array, FPGA), a neural network processor (NPU), a tensor processor (TPU), an artificial intelligence (AI) type processor, etc.) and a memory 104 for storing data. Optionally, the mobile terminal may further include a transmission device 106, an input and output device 108, and a display device 110 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0038] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for displaying information in the embodiment of the present disclosure. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to realize the above-mentioned method for displaying information. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0039] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0040] The inputs in the input / output device 108 may come from a plurality of human interface devices (HIDs), such as keyboards and mice, game controllers, and other dedicated game controllers (such as steering wheels, fishing rods, dance mats, remote controls, etc.). In addition to providing input functions, some human interface devices may also provide output functions, such as force feedback and vibration of game controllers, audio output of controllers, etc.
[0041] The display device 110 may be, for example, a Heads Up Display (HUD), a touch screen liquid crystal display (LCD), and a touch display (also referred to as a "touch screen" or "touch display screen"). The LCD display enables the user to interact with the user interface of the mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and the user can interact with the GUI by finger contacts and / or gestures on the touch-sensitive surface. The human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or readable storage medium executable by one or more processors.
[0042] Those skilled in the art will understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0043] In one possible implementation, an embodiment of the present disclosure provides a method for displaying information, providing a graphical user interface through a terminal device, wherein the content displayed by the graphical user interface includes at least a portion of a game scene and a game skill identification set, the game scene includes at least one virtual object, the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate a game skill that is allowed to be released on the virtual object.
[0044] The terminal device may be a device connected to a computer network or a communication network, such as a mobile phone or a computer, etc. This is only an example and does not impose any specific restrictions on the type of the terminal device. The graphical user interface may be an interface that allows a user to interact with the terminal device. The game scene may be a strategy game (SLG) scene, which is only an example and does not impose any specific restrictions on the game type. The game scene includes at least one virtual object, such as a virtual building object, a virtual troop object, etc. This is only an example and does not impose any specific restrictions on the type of the virtual object. The game skill identification set may include at least one game skill identification, which may be located in an operation area in the game scene and may be used to indicate a game skill that is allowed to be released on a virtual object. For example, the game skill identification may be an icon, text, icon plus text, etc. that indicates a game skill, which is only an example and does not impose any specific restrictions on the form of the game skill identification.
[0045] Figure 2 is a flow chart of a method for displaying information according to one embodiment of the present disclosure, such as Figure 2 As shown, the method may include the following steps:
[0046] Step S202, in response to a selection operation on a game skill identification set, a target game skill identification is selected from the game skill identification set.
[0047] In the technical solution provided in the above step S202 of the present disclosure, in response to the selection operation for the above game skill identification set, a target game skill identification can be selected from the game skill identification set. The selection operation can be a touch operation behavior of the game player on at least one game skill identification included in the game skill identification set. For example, the touch operation behavior can be a click operation. This is only an example and does not specifically limit the form of the selection operation. The target game skill identification can be a game skill identification selected from the game skill identification set.
[0048] Optionally, the game player selects at least one game skill identifier from the game skill identifier set by triggering a selection operation, and the at least one game skill identifier selected from the game skill identifier set can be determined as a target game skill identifier.
[0049] Step S204, responding to the touch operation on the target game skill identifier, and determining operation information of the touch operation on the graphical user interface.
[0050] In the technical solution provided in the above step S204 of the present disclosure, after selecting the target game skill identifier from the game skill identifier set, in response to the touch operation on the target game skill identifier, the operation information of the touch operation on the graphical user interface can be determined. The touch operation can be the touch operation behavior of the game player on the target game skill identifier. For example, the touch operation behavior can be a click operation, a drag operation, etc. This is only for example explanation, and no specific limitation is made on the form of the touch operation. The operation information can be used to indicate the operation direction and operation distance of the touch operation on the graphical user interface.
[0051] Optionally, after selecting a target game skill identifier from the game skill identifier set, the game player can determine information such as the operation direction and operation distance of the touch operation on the graphical user interface by clicking or dragging the selected target game skill identifier, that is, responding to touch operations such as clicking or dragging on the target game skill identifier.
[0052] Step S206, determining a skill release range in the game scene based at least on the operation information.
[0053] In the technical solution provided in the above step S206 of the present disclosure, after responding to the touch operation on the target game skill identifier and determining the operation information of the touch operation on the graphical user interface, the skill release range can be determined in the game scene at least based on the determined operation information. Among them, the skill release range can be the effective range of the target game skill corresponding to the target game skill identifier, that is, the influence range of the target game skill. The skill release range can also be the throwing range of the target game skill. The shape of the skill release range can be circular, elliptical, square, etc. This is only for example, and no specific limitation is made on the shape of the skill release range.
[0054] Optionally, after determining the operation information of touch operations such as clicking or dragging the target game skill logo on the graphical user interface, based on the operation information, an area can be determined on the graphical user interface, which corresponds to the skill release range in the game scene, and then the skill release range of the throwing target game skill can be determined in the game scene, and the target game skill can take effect for this skill release range.
[0055] Step S208, in response to the skill triggering operation on the graphical user interface, releasing the target game skill corresponding to the target game skill identifier to at least one target virtual object in the skill release range.
[0056] In the technical solution provided in the above step S208 of the present disclosure, after determining the skill release range in the game scene based on at least the operation information, in response to the skill trigger operation acting on the graphical user interface, the target game skill corresponding to the target game skill identifier can be released for at least one target virtual object in the skill release range. Among them, the skill trigger operation can be a trigger operation behavior acting on the graphical user interface, for example, the trigger operation behavior can be a cancel touch operation, for example, a cancel operation of the game player's finger acting on the touch point on the graphical user interface (i.e., the game player's release operation), etc. This is only for example explanation, and no specific limitation is made on the form of the skill trigger operation. The target virtual object can be a virtual object in the skill release range.
[0057] Optionally, after determining the skill release range in the game scene, when the game player cancels the touch operation on the target game skill identifier, that is, when the game player releases his finger, in response to the skill trigger operation on the graphical user interface, the target game skill is released to the target virtual object in the skill release range.
[0058] Through the above steps S202 to S208, a graphical user interface is provided through the terminal device, and the content displayed by the graphical user interface includes at least part of the game scene and the game skill identification set, the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate the game skills that are allowed to be released on the virtual object. In response to the selection operation on the game skill identification set, a target game skill identification is selected from the game skill identification set; in response to the touch operation on the target game skill identification, the operation information of the touch operation on the graphical user interface is determined; at least based on the operation information, the skill release range is determined in the game scene; in response to the skill trigger operation acting on the graphical user interface, the target game skill corresponding to the target game skill identification is released for at least one target virtual object in the skill release range. That is to say, the disclosed embodiment responds to the touch operation on the selected target game skill identifier, determines the operation information of the touch operation on the graphical user interface, determines the skill release range based on the operation information, and further responds to the skill trigger operation acting on the graphical user interface, and releases the target game skill to the target virtual object in the skill release range, thereby achieving the purpose of range selection of a large area (skill release range) through a small range operation, reducing the release operation steps of the entire set of target game skills, making the interactive process of skill release more convenient, and thereby achieving the technical effect of improving the efficiency of information display and solving the technical problem of low efficiency of information display.
[0059] The above method of the embodiment of the present disclosure is further introduced below.
[0060] As an optional embodiment, step S206, at least based on the operation information, determines the skill release range in the game scene, including: based on the operation information, determining the current touch point of the touch operation on the graphical user interface; at least based on the current touch point, determining the skill release range in the game scene.
[0061] In this embodiment, in response to a touch operation on a target game skill identifier, after determining the operation information of the touch operation on the graphical user interface, the current touch point of the touch operation can be determined on the graphical user interface based on the determined operation information. Further, based at least on the current touch point, the skill release range can be determined in the game scene. Among them, the current touch point can be the position where the finger of the game player stops on the graphical user interface when the game player performs a touch operation on the target game skill identifier, which can be used to represent the current geometric point corresponding to the current position of the target game skill identifier. For example, the current touch point can be the point where the finger of the game player touches the graphical user interface, which can be represented by point 1.
[0062] Optionally, after determining the operation information of the touch operation on the graphical user interface, the current touch point of the touch operation can be determined based on information such as the operation direction and operation distance of the finger on the graphical user interface when the game player performs a touch operation on the target game skill identifier.
[0063] Optionally, after determining the current touch point of the touch operation, an area can be determined on the graphical user interface based on the current touch point, and the area corresponds to the skill release range in the game scene, so that the skill release range in the game scene can be determined.
[0064] As an optional embodiment, the skill release range is determined in the game scene at least based on the current touch point, including: determining the skill release range in the game scene based on the current touch point and the initial position of the target game skill identifier on the graphical user interface.
[0065] In this embodiment, after the current touch point of the touch operation is determined on the graphical user interface, the skill release range can be determined in the game scene based on the determined current touch point and the initial position of the target game skill mark on the graphical user interface. The initial position can be the position of the target game skill mark before it moves, for example, the initial position can be located in the operation area in the game scene.
[0066] Optionally, after determining the current touch point of the touch operation, the current touch point of the touch operation (i.e., the current position of the target game skill identifier) can be connected to the initial position of the target game skill identifier on the graphical user interface, and the line can be further extended to determine the target point. By expanding with the target point as the center point, the skill release range can be obtained.
[0067] As an optional embodiment, based on the current touch point and the initial position of the target game skill identifier on the graphical user interface, the skill release range is determined in the game scene, including: determining the geometric line where the initial position is located on the graphical user interface, wherein the game skill identifiers in the game skill identifier set are distributed along the geometric line; based on the line type of the geometric line, determining the first target geometric point on the geometric line; based on the current touch point and the first target geometric point, determining the skill release range in the game scene.
[0068] In this embodiment, after determining the current touch point of the touch operation, the geometric line where the initial position is located on the graphical user interface can be determined. After determining the geometric line where the initial position is located on the graphical user interface, based on the line type of the geometric line, the first target geometric point can be determined on the geometric line. Further based on the current touch point and the first target geometric point, the skill release range can be determined. Among them, the geometric line can be a line where the game skill identifiers are distributed, that is, the game skill identifiers in the game skill identifier set are distributed along the geometric line. The line type of the geometric line can be a semicircular arc line type, a straight line type, etc. This is only for example, and no specific limitation is made to the form of the geometric line. The first target geometric point can be the center point of the geometric line, which can be represented by point 2.
[0069] Optionally, after determining the current touch point (point 1) and the center point of the geometric line, that is, the first target geometric point (point 2) of the geometric line, point 1 and point 2 can be connected to obtain the distance of the connection line. Further based on the distance of the connection line, the connection line can be extended to determine the target point, and the target point can be used as the center point to expand and obtain the skill release range.
[0070] As an optional embodiment, based on the current touch point and the first target geometric point, the skill release range is determined in the game scene, including: determining a first geometric line pointing from the current touch point to the first target geometric point; extending the first geometric line along the direction of the first geometric line to the first target distance; determining the endpoint of the extended first geometric line on one side of the direction; based on the endpoint, determining the skill release range in the game scene.
[0071] In this embodiment, based on the line type of the geometric line, after determining the first target geometric point on the geometric line, the first geometric line pointing from the current touch point to the first target geometric point can be determined. After determining the first geometric line, the determined first geometric line can be extended by the first target distance in the direction of the first geometric line. After extending the first geometric line by the first target distance in the direction of the first geometric line, the endpoint of the extended first geometric line on the side of the direction of the first geometric line can be determined. Further based on the determined endpoints, the skill release range can be determined in the game scene. Among them, the first geometric line can be a line between the first target geometric point and the current touch point. The first target distance is equal to the distance of the first geometric line, which can be represented by x. The endpoint of the first geometric line on the side of the direction of the first geometric line can be represented by point 3.
[0072] Optionally, after determining the current touch point (point 1) and the first target geometric point (point 2), the first geometric line between point 1 and point 2 can be determined. The first geometric line can be further extended by a first target distance x along the direction of the first geometric line, and the first target distance x is equal to the distance of the first geometric line. The endpoint (point 3) of the extended first geometric line on one side of the direction of the first geometric line can be determined, and based on point 3, the skill release range can be determined in the game scene.
[0073] As an optional embodiment, based on the endpoint, determining the skill release range in the game scene includes: determining a second target geometric point separated from the endpoint by a second target distance on a graphical user interface, wherein the second target distance is used to represent the distance in the direction of the target coordinate axis; determining a target point corresponding to the second target geometric point in the game scene; and determining, in the game scene, a skill release range with the target point as the center point.
[0074] In this embodiment, after determining the endpoint of the extended first geometric line on one side of the direction of the first geometric line, the second target geometric point separated from the endpoint by the second target distance can be determined on the graphical user interface. Further, the target point corresponding to the second target geometric point in the game scene can be determined, and in the game scene, the skill release range with the target point as the center point can be determined. Among them, the second target distance can be the distance between the first target geometric point and the second target geometric point, which can be used to represent the distance in the direction of the target coordinate axis, the target coordinate axis can be the longitudinal axis (Y axis), the second target distance can be set according to the actual situation, and the second target distance can be represented by y. The target point can be represented by point 4.
[0075] Optionally, after determining the endpoint (point 3) of the extended first geometric line on one side of the direction of the first geometric line, a second target geometric point separated from point 3 by a second target distance y can be determined. Further, a target point (point 4) corresponding to the second target geometric point in the game scene can be determined, and the skill release range is displayed with point 4 as the center point.
[0076] As an optional embodiment, determining a first target geometric point on a geometric line based on the line type of the geometric line includes: in response to the line type of the geometric line being an arc line type, determining a center point of the geometric line as the first target geometric point.
[0077] In this embodiment, after determining the geometric line where the initial position is located on the graphical user interface, in response to the line type of the geometric line being an arc line type, the center point of the geometric line may be determined as the first target geometric point.
[0078] As an optional embodiment, the method also includes: determining a skill release trajectory corresponding to the target game skill based on the first target geometric point and the skill release range; step S208, responding to a skill trigger operation on a graphical user interface, releasing the target game skill corresponding to the target game skill identifier for at least one target virtual object in the skill release range, including: responding to a skill trigger operation on a graphical user interface, and releasing the target game skill for the target virtual object in the skill release range according to the skill release trajectory.
[0079] In this embodiment, based on the first target geometric point and the skill release range, the skill release trajectory corresponding to the target game skill can be determined. After determining the skill release trajectory corresponding to the target game skill, in response to the skill triggering operation acting on the graphical user interface, the target game skill can be released to the target virtual object in the skill release range according to the skill release trajectory. Among them, the skill release trajectory can be a trajectory for releasing the target game skill, for example, the skill release trajectory can be a parabolic trajectory, which is only for example description here, and the form of the skill release trajectory is not specifically limited.
[0080] Optionally, based on the first target geometric point and the center point of the skill release range, a skill release trajectory corresponding to the target game skill can be determined. Further in response to the skill triggering operation acting on the graphical user interface, the target game skill can be released to the target virtual object in the skill release range according to the skill release trajectory.
[0081] As an optional embodiment, based on the first target geometric point and the skill release range, the skill release trajectory corresponding to the target game skill is determined, including: determining the second geometric line between the first target geometric point and the center point of the skill release range; determining the first target geometric point and the center point of the skill release range as nodes in the Bezier curve, and determining the point separated from the center point of the skill release range by a second target distance as a control point in the Bezier curve, wherein the second target distance is used to represent the distance in the direction of the target coordinate axis; using the control point, adjusting the second geometric line to obtain the skill release trajectory.
[0082] In this embodiment, a second geometric line between the first target geometric point and the center point of the skill release range can be determined. After determining the second geometric line, the first target geometric point and the center point of the skill release range can be determined as nodes in the Bezier curve, and the point separated from the center point of the skill release range by the second target distance can be determined as a control point in the Bezier curve. Further using the control point, the second geometric line can be adjusted to obtain a skill release trajectory. Among them, the center point of the skill release range is the second target geometric point. The control point can be a point separated from the center point of the skill release range by the second target distance, that is, it can be a point separated from the second target geometric point by the second target distance y.
[0083] Optionally, a second geometric line between the first target geometric point and the center point of the skill release range is determined, that is, the first target geometric point (point 2) and the second target geometric point (point 4) are connected to obtain a second geometric line between point 2 and point 4. The skill release trajectory can be obtained by further calculating the second geometric line using the Bezier curve.
[0084] Optionally, after determining the second geometric line between the first target geometric point (point 2) and the second target geometric point (point 4), point 2 and point 4 can be determined as nodes in the Bezier curve. Further, a control point can be vertically pulled upward from point 4, and the length of the control point is controlled to be the second target distance y. Using the calculation method of the Bezier curve, the skill release trajectory can be obtained, that is, the final parabola style can be obtained.
[0085] As an optional embodiment, determining a current touch point of the touch operation on the graphical user interface based on the operation information includes: determining the current touch point on the graphical user interface based on a current operation direction and a current operation distance in the operation information.
[0086] In this embodiment, after responding to the touch operation for the target game skill identifier and determining the operation information of the touch operation on the graphical user interface, since the determined operation information may include the current operation direction and the current operation distance of the touch operation on the graphical user interface, the current touch point can be determined on the graphical user interface based on the current operation direction and the current operation distance.
[0087] As an optional embodiment, a game skill control is provided on the graphical user interface, and the method also includes: in response to the distance between the target game skill identifier and the game skill control being less than a distance threshold, associating the target game skill corresponding to the target game skill identifier to the game skill control; in response to a skill trigger operation acting on the graphical user interface, releasing the target game skill corresponding to the target game skill identifier for at least one target virtual object in the skill release range, including: in response to the skill trigger operation for the game skill control, releasing the target game skill for the target virtual object in the skill release range.
[0088] In this embodiment, the game skill control may be located in the operation area in the game scene. This is only an example and does not impose any specific restrictions on the display position of the game skill control. The game skill control may be a control for releasing a game skill, such as a ring skill control (which may be referred to as a ring control). This is only an example and does not impose any specific restrictions on the form of expression of the game skill control. The distance threshold may be a threshold pre-set according to actual conditions, and may be used to measure the critical threshold of the distance between the target game skill identifier and the game skill control.
[0089] Optionally, during the touch operation on the target game skill identifier, the distance between the target game skill identifier and the game skill control can be judged, and when the distance between the target game skill identifier and the game skill control is less than a distance threshold, the target game skill corresponding to the target game skill identifier can be associated with the game skill control. In further response to the skill triggering operation on the game skill control, the target game skill can be released to the target virtual object in the skill release range.
[0090] For example, when the game player drags the target game skill identifier to control the target game skill identifier to move toward the ring control, the distance between the center position of the game player's finger and the ring control can be judged. When the distance between the center position of the game player's finger and the ring control is less than the distance threshold, the target game skill corresponding to the target game skill identifier can be associated with the ring control, that is, the target game skill is assigned to the ring control, so that the ring control has the function of releasing the target game skill, so as to achieve the purpose of assigning the energy corresponding to the target game skill to the ring control.
[0091] For another example, after the target game skill corresponding to the target game skill identifier is associated with the ring control, that is, the target game skill is assigned to the ring control, when the game player cancels the touch operation on the target game skill identifier, that is, when the game player releases his finger, in response to the skill trigger operation on the game skill control, the target game skill is released to the target virtual object in the skill release range.
[0092] As an optional embodiment, after associating the target game skill corresponding to the target game skill identifier with the game skill control, the method further includes: controlling the game skill control to move following the current touch point of the touch operation.
[0093] In this embodiment, after the target game skill corresponding to the target game skill identifier is associated with the game skill control, the game skill control can be controlled to move following the current touch point of the touch operation. That is, the position of the game skill control may not be fixed, and the game skill control may move following the movement of the current touch point.
[0094] It should be noted that after associating the target game skill corresponding to the target game skill identifier to the game skill control, the game skill control can also be controlled to prohibit moving with the current touch point, thereby achieving the purpose of reducing the information interference generated by the game player in the process of operating the target game skill identifier.
[0095] As an optional embodiment, after associating the target game skill corresponding to the target game skill identifier to the game skill control, the method also includes: in response to a cancel touch operation on the target game skill identifier, displaying a first prompt message on the graphical user interface, wherein the first prompt message is used to prompt whether to allow the target game skill to be released on the target virtual object; in response to the first prompt message allowing the target game skill to be released on the target virtual object, performing a skill trigger operation on the game skill control.
[0096] In this embodiment, in response to canceling the touch operation for the target game skill identifier, a first prompt message can be displayed on the graphical user interface. Further in response to the displayed first prompt message allowing the target game skill to be released on the target virtual object, a skill trigger operation is performed on the game skill control. Among them, the cancel touch operation can be a touch operation behavior of the game player on the target game skill identifier, and the touch operation behavior can be a cancel drag operation on the target game skill identifier. For example, the game player can let go, or move the target game skill identifier to the initial position of the target game skill identifier. This is only an example, and no specific restrictions are made on the form of canceling the touch operation. The first prompt message can be used to prompt whether to allow the target game skill to be released on the target virtual object. The first prompt message can be displayed in the form of a confirmation box or a selection box. This is only an example, and no specific restrictions are made on the display form of the first prompt message.
[0097] For example, in response to a cancel touch operation on a target game skill identifier, a selection box for whether to release the target game skill may be displayed in the game scene, that is, a first prompt message is displayed. When the game player chooses to release the target game skill by clicking, that is, the first prompt message allows the target game skill to be released on the target virtual object, a skill triggering operation is performed on the game skill control.
[0098] For another example, when the game player does not choose to release the target game skill, that is, the first prompt information is not allowed to release the target game skill on the target virtual object, the skill trigger operation will not be performed on the game skill control, and the interface for selecting the target game skill identifier will be returned.
[0099] As an optional embodiment, a game skill control is provided on the graphical user interface, and the method further includes: responding to a move operation on a target game skill identifier, controlling the target game skill identifier to follow the current touch point of the move operation and move toward one of the following target directions associated with the game skill control: the target direction of the game skill control pointed by the current touch point; the target direction of a position deviated from the target distance of the game skill control pointed by the current touch point; during the movement of the current touch point, the current touch point is first pointed to the game skill control, and then the current touch point is pointed to the target direction of a position deviated from the target distance of the game skill control.
[0100] In this embodiment, in response to a move operation on a target game skill identifier, the target game skill identifier can be controlled to follow the current touch point of the move operation and move to any target direction associated with the game skill control. The move operation can be a touch operation behavior of a game player on the target game skill identifier. For example, the touch operation behavior can be a drag operation. This is only an example and does not specifically limit the form of the move operation. The target distance can be a distance away from the game skill control. The target direction associated with the game skill control can include: a target direction from the current touch point to the game skill control, a target direction from the current touch point to a position away from the target distance of the game skill control, and during the movement of the current touch point, the current touch point first points to the game skill control, and then the current touch point points to a position away from the target distance of the game skill control.
[0101] Optionally, when the game player performs a moving operation on the target game skill identifier, the target game skill identifier can be controlled to follow the current touch point of the moving operation and move in the target direction of the game skill control pointed to by the current touch point. Since the direction in which the game player drags the target game skill identifier may not point to the direction of the game skill control, but deviates from the direction of the game skill control by a certain distance, the target game skill identifier can also be controlled to follow the current touch point of the moving operation and move in the target direction deviating from the game skill control. In addition, the game player may first drag the target game skill identifier along the direction of the game skill control. In the process of dragging the target game skill identifier, the direction of dragging the target game skill identifier may deviate from the direction of the game skill control. Therefore, the target game skill identifier can also be controlled to move in the direction of the game skill control first, and then the target game skill identifier can be controlled to move in the target direction deviating from the game skill control.
[0102] It should be noted that the target game skill identifier may not move, that is, in response to a click operation on the target game skill identifier, the operation information of the touch operation on the graphical user interface is determined, and then the skill release range is determined based on the operation information to release the target game skill to the target virtual object in the skill release range.
[0103] As an optional embodiment, the method also includes: in the process of controlling the target game skill identifier to follow the current touch point of the moving operation and move toward the target direction, hiding the game skill identifiers other than the target game skill identifier in the game skill identifier set on the graphical user interface.
[0104] In this embodiment, while controlling the target game skill identifier to follow the current touch point of the moving operation and move toward the target direction, the game skill identifiers other than the target game skill identifier in the game skill identifier set can be hidden, that is, other skill options can be hidden.
[0105] As an optional embodiment, the method also includes: in response to the skill release range satisfying the skill release condition, displaying second prompt information of the skill release range on the graphical user interface, wherein the skill release condition is used to indicate the condition for allowing the target game skill to be released on the target virtual object, and the second prompt information is used to indicate that the skill release range satisfies the skill release condition; in response to the skill release range not satisfying the skill release condition, displaying third prompt information of the skill release range on the graphical user interface, wherein the third prompt information is used to indicate that the skill release range does not satisfy the skill release condition.
[0106] In this embodiment, in response to the skill release range satisfying the skill release condition, the second prompt information of the skill release range can be displayed on the graphical user interface. In response to the skill release range not satisfying the skill release condition, the third prompt information of the skill release range can be displayed on the graphical user interface, wherein the skill release condition can be a condition set according to the actual situation, and can be used to indicate the condition for allowing the target game skill to be released to the target virtual object, for example, the skill release condition can include the skill release range, the target type of the skill release, and whether the skill release contains the target type, etc. The second prompt information can be used to indicate that the skill release range satisfies the skill release condition, for example, the second prompt information can be the display color of the skill release range is a normal color, such as yellow, etc. The third prompt information can be used to indicate that the skill release range does not satisfy the skill release condition, for example, the third prompt information can be the display color of the skill release range is red, which is only for example, and the display form of the second prompt information and the third prompt information is not specifically limited.
[0107] For example, the skill release range can be within the 50-square range of the main city. The target type of skill release can be effective only for buildings within the skill circle, but not for land. Whether the skill release includes a target type can be effective only when a certain unit exists within the skill circle. The above is only an example, and does not impose specific restrictions on the skill release range, target type, and whether the skill release includes a target type.
[0108] Optionally, after determining the skill release range, it is judged whether the skill release range meets the skill release condition. When the skill release range meets the skill release condition, the second prompt information of the skill release range is displayed, for example, the second prompt information can be the color of the normal skill release range. When the skill release range does not meet the skill release condition, the third prompt information of the skill release range is displayed, for example, the third prompt information can be the color of the skill release range displayed as red.
[0109] In an embodiment of the present disclosure, a graphical user interface is provided through a terminal device, and the content displayed in the graphical user interface includes at least part of a game scene and a game skill identification set, the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate a game skill that is allowed to be released on the virtual object. In response to a selection operation on the game skill identification set, a target game skill identification is selected from the game skill identification set; in response to a touch operation on the target game skill identification, operation information of the touch operation on the graphical user interface is determined; at least based on the operation information, a skill release range is determined in the game scene; in response to a skill trigger operation acting on the graphical user interface, a target game skill corresponding to the target game skill identification is released for at least one target virtual object in the skill release range. That is to say, the disclosed embodiment responds to the touch operation on the selected target game skill identifier, determines the operation information of the touch operation on the graphical user interface, determines the skill release range based on the operation information, and further responds to the skill trigger operation acting on the graphical user interface, and releases the target game skill to the target virtual object in the skill release range, thereby achieving the purpose of range selection of a large area (skill release range) through a small range operation, reducing the release operation steps of the entire set of target game skills, making the interactive process of skill release more convenient, and thereby achieving the technical effect of improving the efficiency of information display and solving the technical problem of low efficiency of information display.
[0110] The technical solution of the embodiment of the present disclosure is further introduced below with examples in combination with preferred implementation modes.
[0111] At present, in the game scene, it is necessary to strengthen the concept of ring skills and realize the light interaction of ring skill release. The types of targets for game skill release can at least include no target, range target, single target, etc. Among them, no target means that there is no need to select a specific target for game skill release, and it will take effect globally after successful release. Range target means that before releasing the game skill, you need to select a range target, which can include multiple single targets. Game players can select the maximum number of releasable ranges through micro-manipulation. Single target means that no matter how the micro-manipulation is, only one precise target can be selected.
[0112] Figure 3 is a schematic diagram of selecting a virtual object in the related art, such as Figure 3 As shown, the game player needs to select a virtual object, that is, select a release target, and click on the ring ability to use the ring ability to release the game skill to the release target. Figure 4 It is a schematic diagram of selecting a game skill in the related art, such as Figure 4 As shown, multiple game skills are provided below the game scene, and the game player can select the game skill to be released by clicking. Figure 5It is a schematic diagram of confirming the release of game skills in the related art, such as Figure 5 As shown, the game player needs to confirm the release of the game skill, which can be achieved by clicking the confirmation button displayed below the game scene. The above steps can only achieve the release operation of a single target, and most of them are click operations, which makes the operation steps of the game player more complicated.
[0113] In strategy games (SLG), the release targets of skills can at least include no target, range target, single target, etc., but the operations are mostly click operations, which makes the operation steps of game players more complicated. It is necessary to go through the steps of selecting skills, selecting targets, confirming target release conditions, confirming release, etc. The operation cost is high, and it is impossible to select range targets through micro-operation, resulting in a technical problem of low efficiency of information display.
[0114] In order to solve the above problems, the present application proposes a catapulting method for releasing skills in SLG. The method locates the center landing point of the target range based on the principle that the angle determines the direction and the force determines the landing point. At the same time, the Bezier curve is used to calculate the style of the parabola, thereby realizing a performance calculation method of parabolic physics simulation within a small fan-shaped range in the lower left corner. At the same time, when applied in SLG, the operation steps for releasing the entire set of game skills are reduced, thereby increasing the operation efficiency.
[0115] Figure 6 is a schematic diagram of UI distribution logic in a game scene according to one embodiment of the present disclosure, such as Figure 6 As shown, the user interface (UI) distribution logic in the game scene can be: the small fan-shaped area in the lower left corner is the operation hot area, and the large area adjacent to the operation hot area is the target selection area. Figure 7 is a schematic diagram of selecting a game skill according to one embodiment of the present disclosure, such as Figure 7 As shown, the game player can select a game skill and drag it in the direction of the ring. Figure 8 is a schematic diagram of a hidden skill option according to one embodiment of the present disclosure, such as Figure 8 As shown, when a game skill is selected and dragged towards the ring, other skill options will be hidden in the operation hot zone.
[0116] Fig. 9 is a schematic diagram of a target range positioning algorithm according to one embodiment of the present disclosure, such as Fig. 9As shown, based on the principle that angle determines direction and force determines landing point, a line is connected between the center position of the player's finger (point 1) and the midpoint of the semicircular arc (point 2) to form a line with a length of x. The line is vector-extended, and x is continued to be extended to obtain the vertex of the line (point 3). Pull the vertex downward to a vertical line of length y (y is a fixed value of the system) to obtain the landing point (point 4). With the landing point as the center point, the skill influence range circle is displayed. Among them, the shape of the skill influence range circle can be circular, elliptical, square, etc., and there is no specific restriction on the shape of the skill influence range circle. The radius of the skill influence range circle displayed with the landing point as the center point can be determined by the product configuration according to the skill effect requirements, and there is no specific restriction here.
[0117] Fig.10 is a schematic diagram of a parabola display algorithm according to one embodiment of the present disclosure, such as Fig.10 As shown, connect the above point 2 and point 4 to get a straight line. Draw a control point vertically upward from point 4, and control the length of the control line at y. Using the calculation method of the Bezier curve, the final parabola style can be obtained. Fig.11 is a schematic diagram of a Bezier curve according to one embodiment of the present disclosure, such as Fig.11 As shown, the Bezier curve may include at least line segments, curves, control points, control lines, selected nodes and unselected nodes. Among them, the selected nodes are point 2 and point 4, and the length of the control line from the selected node to the control point is y. In the field of numerical analysis of mathematics, the Bezier curve (i.e., the Bezier curve) is an important parametric curve in computer graphics. By controlling the height of the control line, the computer will automatically calculate and display the curve. The mathematical expression of the Bezier curve can be expressed by the following formula:
[0118]
[0119] Among them, S can be used to represent the Bezier curve, x i ,i=1,2, … ,n can be used to represent the nodes of the Bezier curve, and x can be used to represent the mean of the nodes.
[0120] Fig.12 is a schematic diagram of a skill release area satisfying a release condition according to one embodiment of the present disclosure, such as Fig.12As shown, according to the above-mentioned target range positioning algorithm and parabola display algorithm, the regional throwing range is calculated, and it is determined whether the regional throwing range meets the release conditions. When the regional throwing range meets the release conditions, the regional range displays the color normally. It should be noted that the release conditions can be set according to product requirements. For example, the release conditions may at least include the release range, the release target type, and whether a certain target type is included. The release range may be whether it is within 50 grids of the main city. The release target type may be that the building within the skill circle will take effect, and the land will not take effect. Whether a certain target type is included may be that a specific troop must exist within the skill circle to take effect. Fig.13 is a schematic diagram of a skill release area that does not meet the release condition according to one embodiment of the present disclosure, such as Fig.13 As shown, when the area throwing range does not meet the release conditions, the area range will be displayed in red. At this time, after the game player lets go, the game skill will fail to be released directly, and a floating text prompt will be displayed on the game scene interface, returning to the skill selection interface.
[0121] Fig.14 is a schematic diagram of a secondary confirmation box according to one embodiment of the present disclosure, such as Fig.14 As shown, when the throwing range of the area meets the release conditions, after the game player lets go, a secondary confirmation box is displayed at the landing point of the game skill. For example, the content in the secondary confirmation box can be "Confirm to dispel the fog in this area", and a "Yes" button and a "(No)" button are provided. When the game player selects the "Yes" button, the game skill is released. When the game player selects the "No" button, the release of the game skill is canceled.
[0122] This embodiment can select a large area in a small range operation, solves the problem of being unable to select a range to release game skills, reduces multiple operations caused by pure clicking, and reduces the range calibration cost caused by clicking operations through dragging operations.
[0123] In an embodiment of the present disclosure, a graphical user interface is provided through a terminal device, and the content displayed in the graphical user interface includes at least part of a game scene and a game skill identification set, the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate a game skill that is allowed to be released on the virtual object. In response to a selection operation on the game skill identification set, a target game skill identification is selected from the game skill identification set; in response to a touch operation on the target game skill identification, operation information of the touch operation on the graphical user interface is determined; at least based on the operation information, a skill release range is determined in the game scene; in response to a skill trigger operation acting on the graphical user interface, a target game skill corresponding to the target game skill identification is released for at least one target virtual object in the skill release range. That is to say, the disclosed embodiment responds to the touch operation on the selected target game skill identifier, determines the operation information of the touch operation on the graphical user interface, determines the skill release range based on the operation information, and further responds to the skill trigger operation acting on the graphical user interface, and releases the target game skill to the target virtual object in the skill release range, thereby achieving the purpose of range selection of a large area (skill release range) through a small range operation, reducing the release operation steps of the entire set of target game skills, making the interactive process of skill release more convenient, and thereby achieving the technical effect of improving the efficiency of information display and solving the technical problem of low efficiency of information display.
[0124] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present disclosure.
[0125] In this embodiment, a device for displaying information is also provided, which provides a graphical user interface through a terminal device, and the content displayed by the graphical user interface includes at least part of the game scene and a game skill identification set. The game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification. The game skill identification is used to indicate the game skills that are allowed to be released on the virtual object.
[0126] The device is used to implement the above-mentioned embodiments and preferred implementations, and those that have been described will not be repeated. As used below, the term "unit" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0127] Fig.15 is a structural block diagram of an information display device according to one embodiment of the present disclosure, such as Fig.15 As shown, the information display device 1500 may include: a selection unit 1502 , a first determination unit 1504 , a second determination unit 1506 and a releasing unit 1508 .
[0128] The selection unit 1502 is used to respond to a selection operation on the game skill identification set and select a target game skill identification from the game skill identification set.
[0129] The first determining unit 1504 is used to respond to the touch operation on the target game skill identifier and determine the operation information of the touch operation on the graphical user interface.
[0130] The second determining unit 1506 is used to determine a skill release range in the game scene based at least on the operation information.
[0131] The releasing unit 1508 is used to respond to the skill triggering operation on the graphical user interface and release the target game skill corresponding to the target game skill identifier to at least one target virtual object in the skill release range.
[0132] Optionally, the second determination unit 1506 includes: a first determination module, used to determine the current touch point of the touch operation on the graphical user interface based on the operation information; and a second determination module, used to determine the skill release range in the game scene based at least on the current touch point.
[0133] The second determination module includes: a first determination submodule, which is used to determine the skill release range in the game scene based on the current touch point and the initial position of the target game skill identifier on the graphical user interface.
[0134] Optionally, the first determination submodule is also used to: determine the geometric line where the initial position is located on the graphical user interface, wherein the game skill identifiers in the game skill identifier set are distributed along the geometric line; based on the line type of the geometric line, determine the first target geometric point on the geometric line; based on the current touch point and the first target geometric point, determine the skill release range in the game scene.
[0135] Optionally, the first determination submodule is used to determine the skill release range in the game scene based on the current touch point and the first target geometric point, including: determining the first geometric line pointing from the current touch point to the first target geometric point; extending the first geometric line along the direction of the first geometric line to the first target distance; determining the endpoint of the extended first geometric line on one side of the direction; based on the endpoint, determining the skill release range in the game scene.
[0136] Optionally, the first determination submodule is used to determine the skill release range in the game scene based on the endpoint, including: on the graphical user interface, determining a second target geometric point that is separated from the endpoint by a second target distance, wherein the second target distance is used to represent the distance in the direction of the target coordinate axis; determining the target point corresponding to the second target geometric point in the game scene; and in the game scene, determining the skill release range with the target point as the center point.
[0137] Optionally, the first determination submodule is used to determine the first target geometric point on the geometric line based on the line type of the geometric line, including: in response to the line type of the geometric line being an arc line type, determining the center point of the geometric line as the first target geometric point.
[0138] Optionally, the device also includes: a third determination unit, used to determine the skill release trajectory corresponding to the target game skill based on the first target geometric point and the skill release range; the release unit 1508 includes: a first release module, used to act on the skill trigger operation on the graphical user interface, and release the target game skill to the target virtual object in the skill release range according to the skill release trajectory.
[0139] Optionally, the third determination unit includes: a third determination module, used to determine the second geometric line between the first target geometric point and the center point of the skill release range; a fourth determination module, used to determine the first target geometric point and the center point of the skill release range as nodes in the Bezier curve, and determine the point separated from the center point of the skill release range by a second target distance as a control point in the Bezier curve, wherein the second target distance is used to represent the distance in the direction of the target coordinate axis; an adjustment module, used to use the control point to adjust the second geometric line to obtain the skill release trajectory.
[0140] Optionally, the first determination module includes: a second determination submodule, configured to determine a current touch point on the graphical user interface based on a current operation direction and a current operation distance in the operation information.
[0141] Optionally, a game skill control is provided on the graphical user interface, and the device also includes: an association unit, used to associate the target game skill corresponding to the target game skill identifier with the game skill control in response to the distance between the target game skill identifier and the game skill control being less than a distance threshold; the release unit 1508 includes: a second release module, used to release the target game skill for the target virtual object in the skill release range in response to the skill trigger operation for the game skill control.
[0142] Optionally, after associating the target game skill corresponding to the target game skill identifier with the game skill control, the device further includes: a first control unit, used to control the game skill control to move following the current touch point of the touch operation.
[0143] Optionally, after associating the target game skill corresponding to the target game skill identifier to the game skill control, the device also includes: a first display unit, used to respond to a cancel touch operation on the target game skill identifier, and display a first prompt message on a graphical user interface, wherein the first prompt message is used to prompt whether to allow the target game skill to be released on the target virtual object; a trigger unit, used to perform a skill trigger operation on the game skill control in response to the first prompt message to allow the target game skill to be released on the target virtual object.
[0144] Optionally, a game skill control is provided on the graphical user interface, and the device also includes: a second control unit, used to respond to a move operation on a target game skill identifier, control the target game skill identifier to follow the current touch point of the move operation, and move to one of the following target directions associated with the game skill control: the target direction of the game skill control pointed by the current touch point; the target direction of a position deviated from the target distance of the game skill control pointed by the current touch point; during the movement of the current touch point, the current touch point first points to the game skill control, and then points to the target direction of a position deviated from the target distance of the game skill control.
[0145] Optionally, the device also includes: a hiding unit, used to hide game skill identifiers other than the target game skill identifier in the game skill identifier set on the graphical user interface while controlling the target game skill identifier to follow the current touch point of the moving operation and move toward the target direction.
[0146] Optionally, the device also includes: a second display unit, used to display second prompt information of the skill release range on a graphical user interface in response to the skill release range satisfying the skill release condition, wherein the skill release condition is used to indicate the condition for allowing the target game skill to be released to the target virtual object, and the second prompt information is used to indicate that the skill release range satisfies the skill release condition; a third display unit, used to display third prompt information of the skill release range on a graphical user interface in response to the skill release range not satisfying the skill release condition, wherein the third prompt information is used to indicate that the skill release range does not satisfy the skill release condition.
[0147] In this embodiment, a graphical user interface is provided by a terminal device, and the content displayed by the graphical user interface includes at least part of the game scene and the game skill identification set, the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, and the game skill identification is used to indicate the game skills that are allowed to be released on the virtual object. The selection unit 1502 responds to the selection operation on the game skill identification set, and selects the target game skill identification from the game skill identification set. The first determination unit 1504 responds to the touch operation on the target game skill identification and determines the operation information of the touch operation on the graphical user interface. The second determination unit 1506 determines the skill release range in the game scene based on at least the operation information. The release unit 1508 responds to the skill trigger operation acting on the graphical user interface, and releases the target game skill corresponding to the target game skill identification for at least one target virtual object in the skill release range. That is to say, the disclosed embodiment responds to the touch operation on the selected target game skill identifier, determines the operation information of the touch operation on the graphical user interface, determines the skill release range based on the operation information, and further responds to the skill trigger operation acting on the graphical user interface, and releases the target game skill to the target virtual object in the skill release range, thereby achieving the purpose of range selection of a large area (skill release range) through a small range operation, reducing the release operation steps of the entire set of target game skills, making the interactive process of skill release more convenient, and thereby achieving the technical effect of improving the efficiency of information display and solving the technical problem of low efficiency of information display.
[0148] It should be noted that the above-mentioned units can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned units are all located in the same processor; or the above-mentioned units are located in different processors in any combination.
[0149] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when running.
[0150] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0151] S1, in response to a selection operation on a game skill identifier set, selecting a target game skill identifier from the game skill identifier set;
[0152] S2, responding to the touch operation on the target game skill identifier, and determining operation information of the touch operation on the graphical user interface;
[0153] S3, determining a skill release range in a game scene based at least on the operation information;
[0154] S4, in response to a skill triggering operation on the graphical user interface, releasing a target game skill corresponding to a target game skill identifier to at least one target virtual object in a skill release range.
[0155] Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.
[0156] An embodiment of the present disclosure further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0157] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0158] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0159] S1, in response to a selection operation on a game skill identifier set, selecting a target game skill identifier from the game skill identifier set;
[0160] S2, responding to the touch operation on the target game skill identifier, and determining operation information of the touch operation on the graphical user interface;
[0161] S3, determining a skill release range in a game scene based at least on the operation information;
[0162] S4, in response to a skill triggering operation on the graphical user interface, releasing a target game skill corresponding to a target game skill identifier to at least one target virtual object in a skill release range.
[0163] An embodiment of the present disclosure further provides a computer program product, which may include a computer program, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0164] Optionally, in this embodiment, the computer program product may be configured to include a computer program for performing the following steps:
[0165] S1, in response to a selection operation on a game skill identifier set, selecting a target game skill identifier from the game skill identifier set;
[0166] S2, responding to the touch operation on the target game skill identifier, and determining operation information of the touch operation on the graphical user interface;
[0167] S3, determining a skill release range in a game scene based at least on the operation information;
[0168] S4, in response to a skill triggering operation on the graphical user interface, releasing a target game skill corresponding to a target game skill identifier to at least one target virtual object in a skill release range.
[0169] An embodiment of the present disclosure further provides a computer program product, which may include a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and the computer program is configured to execute the steps of any of the above method embodiments when running.
[0170] Optionally, in this embodiment, the computer program product may be configured to include a non-volatile computer-readable storage medium, and the non-volatile computer-readable storage medium may be configured to store a computer program for performing the following steps:
[0171] S1, in response to a selection operation on a game skill identifier set, selecting a target game skill identifier from the game skill identifier set;
[0172] S2, responding to the touch operation on the target game skill identifier, and determining operation information of the touch operation on the graphical user interface;
[0173] S3, determining a skill release range in a game scene based at least on the operation information;
[0174] S4, in response to a skill triggering operation on the graphical user interface, releasing a target game skill corresponding to a target game skill identifier to at least one target virtual object in a skill release range.
[0175] An embodiment of the present disclosure further provides a computer program, which is configured to execute the steps of any of the above method embodiments when running.
[0176] Optionally, in this embodiment, the computer program is configured to perform the following steps:
[0177] S1, in response to a selection operation on a game skill identifier set, selecting a target game skill identifier from the game skill identifier set;
[0178] S2, responding to the touch operation on the target game skill identifier, and determining operation information of the touch operation on the graphical user interface;
[0179] S3, determining a skill release range in a game scene based at least on the operation information;
[0180] S4, in response to a skill triggering operation on the graphical user interface, releasing a target game skill corresponding to a target game skill identifier to at least one target virtual object in a skill release range.
[0181] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.
[0182] Fig.16 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. Fig.16 As shown, the electronic device 1600 is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0183] like Fig.16 As shown, the electronic device 1600 is in the form of a general computing device. The components of the electronic device 1600 may include but are not limited to: the at least one processor 1610, the at least one memory 1620, a bus 1630 connecting different system components (including the memory 1620 and the processor 1610), and a display 1640.
[0184] The memory 1620 stores program codes, which can be executed by the processor 1610, so that the processor 1610 executes the steps described in the method part of the embodiment of the present disclosure according to various exemplary embodiments of the present disclosure.
[0185] The memory 1620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 16201 and / or a cache memory unit 16202, and may further include a read-only memory unit (ROM) 16203, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
[0186] In some examples, the memory 1620 may also include a program / utility 16204 having a set (at least one) of program modules 16205, such program modules 16205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include the implementation of a network environment. The memory 1620 may further include a memory remotely disposed relative to the processor 1610, and these remote memories may be connected to the electronic device 1600 via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0187] Bus 1630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a local bus of processor 1610, or a bus using any of a variety of bus architectures.
[0188] The display 1640 may be, for example, a touch screen type liquid crystal display (LCD) that enables a user to interact with a user interface of the electronic device 1600 .
[0189] Optionally, the electronic device 1600 may also communicate with one or more external devices 1700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 1600, and / or any device that enables the electronic device 1600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 1650. Furthermore, the electronic device 1600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 1660. Fig.16 As shown, the network adapter 1660 communicates with other modules of the electronic device 1600 via the bus 1630. It should be understood that although Fig.16Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 1600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, redundant arrays of independent disks (RAID) systems, tape drives, and data backup storage systems.
[0190] The electronic device 1600 may further include: a keyboard, a cursor control device (such as a mouse), an input / output interface (I / O interface), a network interface, a power supply and / or a camera.
[0191] It can be understood by those skilled in the art that Fig.16 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig.16 More or fewer components as shown, or with Figure 1 The memory 1620 may be used to store computer programs and corresponding data, such as the computer programs and corresponding data corresponding to the information display method in the embodiment of the present disclosure. The processor 1610 executes various functional applications and data processing by running the computer programs stored in the memory 1620, that is, realizing the above-mentioned information display method.
[0192] The serial numbers of the above-mentioned embodiments of the present disclosure are only for description and do not represent the advantages or disadvantages of the embodiments.
[0193] In the above embodiments of the present disclosure, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0194] In the several embodiments provided in the present disclosure, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0195] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0196] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0197] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., which can store program code.
[0198] The above are only preferred embodiments of the present disclosure. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications should also be regarded as the protection scope of the present disclosure.
Claims
1. A method for displaying information, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed by the graphical user interface includes at least a part of a game scene and a game skill identification set, wherein the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, wherein the game skill identification is used to indicate a game skill that is allowed to be released on the virtual object, and the method includes: In response to a selection operation on the game skill identification set, selecting a target game skill identification from the game skill identification set; In response to a touch operation on the target game skill identifier, determining operation information of the touch operation on the graphical user interface; At least based on the operation information, determining a skill release range in the game scene; In response to a skill triggering operation on the graphical user interface, a target game skill corresponding to the target game skill identifier is released for at least one target virtual object in the skill release range.
2. The method according to claim 1, characterized in that At least based on the operation information, determining a skill release range in the game scene includes: Based on the operation information, determining a current touch point of the touch operation on the graphical user interface; The skill release range is determined in the game scene at least based on the current touch point.
3. The method according to claim 2, characterized in that Determining the skill release range in the game scene based at least on the current touch point includes: Based on the current touch point and the initial position of the target game skill identifier on the graphical user interface, the skill release range is determined in the game scene.
4. The method according to claim 3, characterized in that Based on the current touch point and the initial position of the target game skill identifier on the graphical user interface, determining the skill release range in the game scene includes: Determine a geometric line on which the initial position is located on the graphical user interface, wherein the game skill identifiers in the game skill identifier set are distributed along the geometric line; Based on the line type of the geometric line, determining a first target geometric point on the geometric line; Based on the current touch point and the first target geometric point, the skill release range is determined in the game scene.
5. The method according to claim 4, characterized in that Determining the skill release range in the game scene based on the current touch point and the first target geometric point includes: Determine a first geometric line from the current touch point to the first target geometric point; Extend the first geometric line along the direction of the first geometric line to extend the first target distance; Determine an endpoint of the extended first geometric line on one side of the direction; Based on the endpoint, the skill release range is determined in the game scene.
6. The method according to claim 5, characterized in that Based on the endpoint, determining the skill release range in the game scene includes: On the graphical user interface, determining a second target geometric point that is separated from the endpoint by a second target distance, wherein the second target distance is used to represent a distance in a target coordinate axis direction; Determine a target point corresponding to the second target geometric point in the game scene; In the game scene, determine the skill release range with the target point as the center point.
7. The method according to claim 4, characterized in that Determining a first target geometric point on the geometric line based on the line type of the geometric line includes: In response to the line type of the geometric line being an arc line type, the center point of the geometric line is determined as the first target geometric point.
8. The method according to claim 4, characterized in that The method further comprises: Determining a skill release trajectory corresponding to the target game skill based on the first target geometric point and the skill release range; In response to a skill trigger operation on the graphical user interface, the target game skill is released for at least one target virtual object in the skill release range, including: in response to a skill trigger operation on the graphical user interface, the target game skill is released for the target virtual object in the skill release range according to the skill release trajectory.
9. The method according to claim 8, characterized in that Determining a skill release trajectory corresponding to the target game skill based on the first target geometric point and the skill release range includes: Determine a second geometric line between the first target geometric point and the center point of the skill release range; The first target geometric point and the center point of the skill release range are determined as nodes in a Bezier curve, and a point separated from the center point of the skill release range by a second target distance is determined as a control point in the Bezier curve, wherein the second target distance is used to represent the distance in the direction of the target coordinate axis; The control point is used to adjust the second geometric line to obtain the skill release trajectory.
10. The method according to claim 2, characterized in that Determining a current touch point of the touch operation on the graphical user interface based on the operation information includes: The current touch point is determined on the graphical user interface based on the current operation direction and the current operation distance in the operation information.
11. The method according to claim 1, characterized in that: A game skill control is provided on the graphical user interface, and the method further comprises: In response to the distance between the target game skill identifier and the game skill control being less than a distance threshold, associating the target game skill corresponding to the target game skill identifier with the game skill control; In response to a skill trigger operation on the graphical user interface, the target game skill corresponding to the target game skill identifier is released for at least one target virtual object in the skill release range, including: in response to a skill trigger operation on the game skill control, the target game skill is released for the target virtual object in the skill release range.
12. The method according to claim 11, characterized in that After associating the target game skill corresponding to the target game skill identifier with the game skill control, the method further includes: The game skill control is controlled to move following the current touch point of the touch operation.
13. The method according to claim 11, characterized in that After associating the target game skill corresponding to the target game skill identifier with the game skill control, the method further includes: In response to a cancel touch operation on the target game skill identifier, displaying first prompt information on the graphical user interface, wherein the first prompt information is used to prompt whether to allow the target game skill to be released to the target virtual object; In response to the first prompt information allowing the target game skill to be released on the target virtual object, the skill triggering operation is performed on the game skill control.
14. The method according to claim 1, characterized in that A game skill control is provided on the graphical user interface, and the method further comprises: In response to a movement operation on the target game skill identifier, the target game skill identifier is controlled to follow the current touch point of the movement operation and move toward one of the following target directions associated with the game skill control: The current touch point points to the target direction of the game skill control; A target direction pointed by the current touch point to a position deviating from the target distance of the game skill control; During the movement of the current touch point, the current touch point first points to the game skill control, and then the current touch point points to a target direction of a position deviating from the target distance of the game skill control.
15. The method according to claim 14, characterized in that The method further comprises: In the process of controlling the target game skill identifier to follow the current touch point of the moving operation and move toward the target direction, the game skill identifiers other than the target game skill identifier in the game skill identifier set are hidden on the graphical user interface.
16. The method according to any one of claims 1 to 15, characterized in that The method further comprises: In response to the skill release range satisfying a skill release condition, displaying second prompt information corresponding to the skill release range on the graphical user interface, wherein the skill release condition is used to indicate a condition for allowing the target game skill to be released to the target virtual object, and the second prompt information is used to indicate that the skill release range satisfies the skill release condition; In response to the skill release range not satisfying the skill release condition, third prompt information corresponding to the skill release range is displayed on the graphical user interface, wherein the third prompt information is used to indicate that the skill release range does not satisfy the skill release condition.
17. An information display device, characterized in that: A graphical user interface is provided through a terminal device, wherein the content displayed by the graphical user interface includes at least a part of a game scene and a game skill identification set, wherein the game scene includes at least one virtual object, and the game skill identification set includes at least one game skill identification, wherein the game skill identification is used to indicate a game skill that is allowed to be released on the virtual object, and the method includes: A selection unit, configured to respond to a selection operation on the game skill identification set and select a target game skill identification from the game skill identification set; A first determining unit, configured to respond to a touch operation on the target game skill identifier and determine operation information of the touch operation on the graphical user interface; A second determining unit, configured to determine a skill release range in the game scene based at least on the operation information; The release unit is used to respond to the skill triggering operation acting on the graphical user interface and release the target game skill corresponding to the target game skill identifier to at least one target virtual object in the skill release range.
18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program is configured to execute the method described in any one of claims 1 to 16 when executed by a processor.
19. An electronic device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to perform the method described in any one of claims 1 to 16.
20. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Method and device for controlling skills in game and touch terminal
CN112169315A
Information processing method, device and equipment and storage medium
CN112426715A
Game object control method and device, electronic equipment and storage medium
CN114146411A
Skill release control method and device, storage medium and electronic equipment
CN116099194A
Virtual scene interaction processing method and device, electronic equipment and storage medium
CN117753007A