CN116351057B - Game fight prompting method, game fight prompting device, electronic equipment and storage medium - Google Patents

Game fight prompting method, game fight prompting device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116351057B
CN116351057B CN202310340546.0A CN202310340546A CN116351057B CN 116351057 B CN116351057 B CN 116351057B CN 202310340546 A CN202310340546 A CN 202310340546A CN 116351057 B CN116351057 B CN 116351057B
Authority
CN
China
Prior art keywords
fight
combat
target
virtual
game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310340546.0A
Other languages
Chinese (zh)
Other versions
CN116351057A (en
Inventor
彭鸿锷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Sanqi Jiyao Network Technology Co ltd
Original Assignee
Guangzhou Sanqi Jiyao Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Sanqi Jiyao Network Technology Co ltd filed Critical Guangzhou Sanqi Jiyao Network Technology Co ltd
Priority to CN202310340546.0A priority Critical patent/CN116351057B/en
Publication of CN116351057A publication Critical patent/CN116351057A/en
Application granted granted Critical
Publication of CN116351057B publication Critical patent/CN116351057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/308Details of the user interface
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a game fight prompting method, a game fight prompting device, electronic equipment and a storage medium. Comprising the following steps: displaying a game fight picture, wherein a first fight area and a second fight area of a game scene are displayed in the game fight picture, the first fight area is provided with a plurality of first virtual fight objects, and the second fight area is provided with a plurality of second virtual fight objects; determining a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object based on a fight rule preset for a game scene in a preparation stage of the first virtual fight object and the second virtual fight object; the first position information of the first target fight object and the second position information of the second target fight object are determined, the fight pointing identifier is generated based on the first position information and the second position information, and the fight pointing identifier is displayed in a game fight picture, so that the game fight can be intuitively prompted.

Description

Game fight prompting method, game fight prompting device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a game fight prompting method, a game fight prompting device, electronic equipment and a storage medium.
Background
In the current combat type game, the number of general game characters is large, and the combat modes of different game characters are often different. In the related art, in game combat, the number of characters which often participate in the game combat is large, and each character can combat according to respective combat modes, so that the learning of a user on combat rules is not facilitated, and the game experience of the user is reduced.
Disclosure of Invention
In view of the above problems, the present invention provides a game combat prompting method, apparatus, electronic device, and storage medium, so as to intuitively prompt a game combat in a combat stage, so that a user can know a combat rule of a game, and the learning difficulty of the game combat rule is reduced.
According to an aspect of the present invention, there is provided a game combat prompting method, the method comprising:
displaying a game fight picture, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, and a plurality of second virtual fight objects are placed in the second fight area;
Determining a first target combat object in each first virtual combat object and a second target combat object corresponding to the first target combat object in each second virtual combat object based on combat rules preset for the game scene in a standby stage of the first virtual combat object and the second virtual combat object;
determining first position information of the first target combat object and second position information of the second target combat object, generating a combat directional identifier based on the first position information and the second position information, and displaying the combat directional identifier in the game combat screen.
According to another aspect of the present invention, a game combat prompting device is provided. The device comprises:
the game image display module is used for displaying a game fight image, wherein a first fight area and a second fight area in a game scene are displayed in the game fight image, a plurality of first virtual fight objects are placed in the first fight area, and a plurality of second virtual fight objects are placed in the second fight area;
a combat object determining module configured to determine, in a standby stage of the first virtual combat object and the second virtual combat object, a first target combat object in each of the first virtual combat objects, and a second target combat object corresponding to the first target combat object in each of the second virtual combat objects, based on a combat rule preset for the game scene;
And the combat direction identification display module is used for determining the first position information of the first target combat object, generating the combat direction identification based on the first position information and the second position information and displaying the combat direction identification in the game combat picture.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the game combat prompting method according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to execute a game combat prompting method according to any embodiment of the present invention.
According to the technical scheme, the game fight picture is displayed, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, a plurality of second virtual fight objects are placed in the second fight area, and the game fight scene is more intuitively displayed. And determining a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object based on a fight rule preset for the game scene in the preparation stage of the first virtual fight object and the second virtual fight object, wherein the fight object to be participated in the game fight can be definitely in the preparation stage. Determining first position information of the first target combat object and second position information of the second target combat object, and generating a combat direction identifier based on the first position information and the second position information. The combat direction identifier is displayed in the game combat picture, so that the game combat can be prompted more intuitively, a user is guided to know the preset combat rules of the game through the display indication identifier, the station of the subsequent combat object is optimized, and the learning difficulty of the game combat rules is reduced.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a game combat prompting method according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a game combat screen according to a game combat prompting method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of a picture showing a combat direction identifier of a game combat prompting method according to a first embodiment of the present invention;
fig. 4 is a flow chart of a game fight prompting method according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a game combat prompt device according to a third embodiment of the present invention;
Fig. 6 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It will be appreciated that prior to using the technical solutions disclosed in the embodiments of the present disclosure, the user should be informed and authorized of the type, usage range, usage scenario, etc. of the personal information related to the present disclosure in an appropriate manner according to the relevant legal regulations.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Thus, the user can autonomously select whether to provide personal information to software or hardware such as an electronic device, an application program, a server or a storage medium for executing the operation of the technical scheme of the present disclosure according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Example 1
Fig. 1 is a schematic flow chart of a game fight prompting method according to a first embodiment of the present invention, where the method may be implemented by a game fight prompting device, and the game fight prompting device may be implemented in hardware and/or software, and may be configured in an electronic device such as a computer or a server.
As shown in fig. 1, the method of the present embodiment includes:
and S110, displaying a game fight picture, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, and a plurality of second virtual fight objects are placed in the second fight area.
Among them, a game combat screen can be understood as a game screen capable of presenting a combat scene (see fig. 2). The game combat screen may include a first combat zone and a second combat zone in the game scene. The first combat zone may be understood as a combat zone in which the first virtual combat object is placed. The second combat zone may be understood as a combat zone in which the second virtual combat object is placed. The first fight target and the second fight target may be understood as targets that need to play a game fight.
In the embodiment of the invention, displaying the game combat screen can comprise: after responding to the game fight triggering operation, a game fight picture can be displayed. The game fight trigger operation is understood as a trigger operation for starting a game fight and displaying a game fight screen. Specifically, after receiving a control trigger operation acting on a game control for controlling a game fight, a game fight screen may be presented. The game combat picture is provided with a first combat zone and a second combat zone in a game scene, wherein a plurality of first virtual combat objects are placed in the first combat zone, and a plurality of second virtual combat objects are placed in the second combat zone.
It should be noted that the first combat zone may be a my combat zone, and the second combat zone may be a opponent combat zone; the first combat zone may be a opponent combat zone and the second combat zone may be a my combat zone. The area size of the first combat zone may be the same as or different from the area size of the second combat zone. In practical applications, the area size of the first combat zone is generally the same as the area size of the second combat zone.
It should be further noted that the number of first virtual combat zones in which the first virtual combat object can be placed may be one, two or more. The number of second virtual combat zones in which the second virtual combat object can be placed may be one, two or more. In practical applications, the number of first virtual combat objects in the first combat zone and the number of second virtual combat objects in the second combat zone are typically plural. The number of first virtual combat objects in the first combat zone and the number of second virtual combat objects in the second combat zone may or may not be the same.
S120, determining a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object based on a fight rule preset for the game scene in a preparation stage of the first virtual fight object and the second virtual fight object.
The combat rule may be a combat rule preset for a game scene, and may be used to determine a first target combat object in each of the first virtual combat objects and a second target combat object corresponding to the first target combat object in each of the second virtual combat objects. In practical applications, the combat rules of the same game scene are generally the same, and the combat rules of different game scenes are generally different. The first target fight target may be understood as a fight target that needs to fight among the first virtual fight targets. The second target fight target may be understood as a fight target that needs to fight with the first target fight target among the second virtual fight targets.
Specifically, in the stage where the first virtual fight object and the second virtual fight object are in the arming stage, a fight rule preset for the game scene may be acquired. And further, a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object can be determined based on a fight rule preset for the game scene.
In an embodiment of the present invention, the determining, based on a combat rule preset for the game scenario, a first target combat object in each of the first virtual combat objects and a second target combat object corresponding to the first target combat object in each of the second virtual combat objects may include: and determining a first target fight object in the first virtual fight objects and a fight attack type of the first target fight object based on a fight rule preset for the game scene. In the case that the combat attack type is a close-range attack type or a far-range attack type, a virtual object to be attacked, which is nearest to the first virtual combat object, among the second virtual combat objects may be determined. In the case that the number of the virtual objects to be attacked is a plurality of, a target attack object closest to the first virtual combat object in each of the virtual objects to be attacked in a preset direction may be determined. And the target attack object can be used as a second target fight object corresponding to the first target fight object.
The fight attack type is understood as the attack type among the fight objects in the fight. The combat attack types may include a near attack type, a far attack type, and a far treatment attack type. The virtual object to be attacked may be understood as a closest combat object to the first virtual combat object among the second virtual combat objects. The number of virtual objects to be attacked may be one, two or more. The preset direction may be a preset direction. The predetermined direction may be a lateral direction or a longitudinal direction, for example. The target attack object may be understood as an attack object closest to the first virtual fight object among the virtual objects to be attacked.
On the basis of the above embodiment, the method further includes: in the case that the combat attack type is a remote treatment attack type, if a first virtual combat object other than the first target combat object does not exist in the first combat zone, a second target combat object corresponding to the first target combat object may be matched from the second virtual combat objects.
Specifically, if the first virtual fight object other than the first target fight object does not exist in the first fight area, the target attack object closest to the first target fight object in the second virtual fight objects may be determined as the second target fight object corresponding to the first target fight object.
S130, determining first position information of the first target fight object and second position information of the second target fight object, generating a fight direction identifier based on the first position information and the second position information, and displaying the fight direction identifier in the game fight picture.
The first location information may be understood as location information of the first target combat object in the first combat zone. The second location information may be understood as location information of the second target combat object in the second combat zone. The combat directional identity may be a directional identity generated based on the first location information and the second location information, and may be used to intuitively embody combat directional information between the first target combat object and the second target combat object. In the case of the first target combat object being an attacker, the combat directional identity of the first target combat object and the second target combat object may characterize the combat identity of the first target combat object directed to the second target combat object. It will be appreciated that where the second target combat object is an attacker, the combat indicia of the first target combat object and the second target combat object may be indicative of the combat indicia of the second target combat object directed to the first target combat object.
Specifically, after the first target combat object and the second target combat object are determined, first position information of the first target combat object and second position information of the second target combat object may be acquired. And further, a combat direction identifier can be generated based on the first location information and the second location information. After the combat indicia are obtained, the combat indicia may be displayed in the game combat screen (see FIG. 3).
On the basis of the above embodiment, the method further includes: upon receiving a combat select operation for the first virtual combat object, a cancellation display of the combat directional identity in the game combat screen may be displayed. Wherein the combat selection operation is understood as an operation of selecting each first virtual combat object, and may be used to control the selected first virtual combat object to combat.
According to the technical scheme, the game fight picture is displayed, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, a plurality of second virtual fight objects are placed in the second fight area, and the game fight scene is more intuitively displayed. And determining a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object based on a fight rule preset for the game scene in the preparation stage of the first virtual fight object and the second virtual fight object, wherein the fight object to be participated in the game fight can be definitely in the preparation stage. Determining first position information of the first target combat object and second position information of the second target combat object, and generating a combat direction identifier based on the first position information and the second position information. The combat direction identifier is displayed in the game combat picture, so that the game combat can be prompted more intuitively, a user is guided to know the preset combat rules of the game through the display indication identifier, the station of the subsequent combat object is optimized, and the learning difficulty of the game combat rules is reduced.
Example two
Fig. 4 is a flow chart of a game fight prompting method according to a second embodiment of the present invention, where, based on the foregoing embodiment, optionally, the generating a fight direction identifier based on the first location information and the second location information includes: transmitting the first position information and the second position information to an entry parameter of a predefined combat direction identification construction method; and after parameter transmission is completed, constructing a fight indication parabola by calling the fight indication identifier construction method, and obtaining the fight indication identifier based on the fight indication parabola. Wherein, the technical terms identical to or corresponding to the above embodiments are not repeated herein.
As shown in fig. 4, the method in this embodiment specifically includes:
s210, displaying a game fight picture, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, and a plurality of second virtual fight objects are placed in the second fight area.
S220, determining a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object based on a fight rule preset for the game scene in a preparation stage of the first virtual fight object and the second virtual fight object.
S230, determining first position information of the first target combat object and second position information of the second target combat object.
S240, transmitting the first position information and the second position information to an entry parameter of a pre-defined combat direction identification construction method.
The method for constructing the combat directional sign can be understood as a predefined method for constructing the combat directional sign. The entry parameters of the combat directional sign construction method can be understood as form parameters of the combat directional sign construction method.
Specifically, after the first position information and the second position information are determined, the first position information and the second position information may be transmitted to form parameters of a predefined combat logo construction method as actual parameters.
S250, after parameter transmission is completed, constructing a fight indication parabola by calling the fight indication mark construction method, obtaining a fight indication mark based on the fight indication parabola, and displaying the fight indication mark in the game fight picture.
The combat indicating parabola can be obtained by calling a combat directing identifier construction method.
In the embodiment of the present invention, the construction of the combat directive parabola by calling the combat directive identifier construction method may include: and generating position information of a plurality of connecting points corresponding to the first position information and the second position information by calling the combat directional identifier construction method. And then a combat indication parabola can be constructed based on the respective positional information. In the embodiment of the present invention, the position information of the plurality of connection points corresponding to the first position information and the second position information may be obtained based on preset interval position information between two adjacent points.
In an embodiment of the present invention, the obtaining a combat direction identifier based on the combat direction parabola may include: based on the fight indication parabola, fight indication grid data are obtained; and based on a preset grid drawing tool, carrying out grid connection drawing processing on the fight indication grid data to obtain a fight direction identifier.
Wherein the combat indication grid data may be generated based on a combat indication parabola. The preset mesh drawing tool may be a tool for performing mesh wire drawing processing on the combat indicating mesh data. In an embodiment of the present invention, the obtaining the combat indication grid data based on the combat indication parabola may include: a plurality of points on the combat indicating parabola are identified. And drawing a circle according to a preset radius by taking the mark point as a circle center for each mark point. And then a three-dimensional curve is obtained based on the drawn circle. After the three-dimensional curve is obtained, grid processing can be performed on the three-dimensional curve, so that combat indication grid data can be obtained.
According to the technical scheme, the first position information and the second position information are transmitted to the inlet parameters of a pre-defined combat directional sign construction method; after parameter transfer is completed, the fight directing identification construction method is called to construct a fight directing parabola, and the fight directing identification is obtained based on the fight directing parabola, so that more effective construction of the fight directing identification can be realized, and the fight directing identification is obtained.
Example III
Fig. 5 is a schematic structural diagram of a game combat prompt device according to a third embodiment of the present invention. As shown in fig. 5, the apparatus includes: a game screen presentation module 310, a combat object determination module 320, and a directional identification display module 330.
The game picture display module 310 is configured to display a game combat picture, where a first combat area and a second combat area in a game scene are displayed in the game combat picture, where the first combat area is placed with a plurality of first virtual combat objects, and the second combat area is placed with a plurality of second virtual combat objects;
a combat object determination module 320, configured to determine, in a standby stage of the first virtual combat object and the second virtual combat object, a first target combat object in each of the first virtual combat objects, and a second target combat object corresponding to the first target combat object in each of the second virtual combat objects, based on a combat rule preset for the game scene;
The directional indicator display module 330 is configured to determine first location information of the first target combat object, and second location information of the second target combat object, generate a combat directional indicator based on the first location information and the second location information, and display the combat directional indicator in the game combat screen.
According to the technical scheme, the game fight picture is displayed, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, a plurality of second virtual fight objects are placed in the second fight area, and the game fight scene is more intuitively displayed. And determining a first target fight object in each first virtual fight object and a second target fight object corresponding to the first target fight object in each second virtual fight object based on a fight rule preset for the game scene in the preparation stage of the first virtual fight object and the second virtual fight object, wherein the fight object to be participated in the game fight can be definitely in the preparation stage. Determining first position information of the first target combat object and second position information of the second target combat object, and generating a combat direction identifier based on the first position information and the second position information. The combat direction identifier is displayed in the game combat picture, so that the game combat can be prompted more intuitively, a user is guided to know the preset combat rules of the game through the display indication identifier, the station of the subsequent combat object is optimized, and the learning difficulty of the game combat rules is reduced.
Optionally, the pointing identifier display module 330 includes a pointing identifier generating unit, where the pointing identifier generating unit is configured to:
transmitting the first position information and the second position information to an entry parameter of a predefined combat direction identification construction method;
and after parameter transmission is completed, constructing a fight indication parabola by calling the fight indication identifier construction method, and obtaining the fight indication identifier based on the fight indication parabola.
Optionally, the pointing identifier generating unit is configured to:
and generating position information of a plurality of connecting points corresponding to the first position information and the second position information by calling the fight direction identifier construction method, and constructing a fight direction parabola based on each position information.
Optionally, the pointing identifier generating unit is configured to:
based on the fight indication parabola, fight indication grid data are obtained;
and based on a preset grid drawing tool, carrying out grid connection drawing processing on the fight indication grid data to obtain a fight direction identifier.
Optionally, the combat object determining module 320 is specifically configured to:
determining a first target fight object in the first virtual fight objects and a fight attack type of the first target fight object based on a fight rule preset for the game scene;
Under the condition that the combat attack type is a short-distance attack type or a long-distance attack type, determining a virtual object to be attacked, which is nearest to the first virtual combat object, in each second virtual combat object;
and under the condition that the number of the virtual objects to be attacked is a plurality of, determining a target attack object closest to the first virtual fight object in each virtual object to be attacked in a preset direction, and taking the target attack object as a second target fight object corresponding to the first target fight object.
Optionally, the combat object determining module 320 is further configured to:
and if the first virtual fight object except the first target fight object does not exist in the first fight area under the condition that the fight attack type is the remote treatment attack type, matching a second target fight object corresponding to the first target fight object from the second virtual fight objects.
Optionally, the apparatus further comprises an identification cancellation display module; the mark cancellation display module is used for:
upon receiving a combat selection operation for the first virtual combat object, a cancellation display of the combat direction identifier in the game combat screen is displayed.
The game fight prompting device provided by the embodiment of the invention can execute the game fight prompting method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, each unit and module included in the game combat prompt device are only divided according to the functional logic, but not limited to the above division, so long as the corresponding functions can be realized; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the embodiments of the present invention.
Example IV
Fig. 6 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 6, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a game combat prompting method.
In some embodiments, the game combat prompting method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the game combat prompting method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the game combat prompting method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (7)

1. A method of game combat prompting, comprising:
displaying a game fight picture, wherein a first fight area and a second fight area in a game scene are displayed in the game fight picture, a plurality of first virtual fight objects are placed in the first fight area, and a plurality of second virtual fight objects are placed in the second fight area;
determining a first target combat object in each first virtual combat object and a second target combat object corresponding to the first target combat object in each second virtual combat object based on combat rules preset for the game scene in a standby stage of the first virtual combat object and the second virtual combat object;
Determining first position information of the first target combat object and second position information of the second target combat object, generating a combat directional identifier based on the first position information and the second position information, and displaying the combat directional identifier in the game combat screen;
the generating a combat direction identifier based on the first location information and the second location information includes: transmitting the first position information and the second position information to an entry parameter of a predefined combat direction identification construction method; after parameter transmission is completed, constructing a fight indication parabola by calling the fight indication identifier construction method, and obtaining a fight indication identifier based on the fight indication parabola; wherein, based on the combat indication parabola, the combat direction mark is obtained, which comprises: based on the fight indication parabola, fight indication grid data are obtained; based on a preset grid drawing tool, carrying out grid connection drawing processing on the fight indication grid data to obtain a fight direction identifier; wherein, based on the combat indication parabola, combat indication grid data is obtained, comprising: identifying a plurality of points on the combat indicating parabola; drawing a circle according to a preset radius by taking the mark point as a circle center for each mark point; obtaining a three-dimensional curve based on the drawn circle; performing grid processing on the three-dimensional curve to obtain combat indicating grid data;
The determining, based on a combat rule preset for the game scene, a first target combat object in each of the first virtual combat objects and a second target combat object corresponding to the first target combat object in each of the second virtual combat objects includes: determining a first target fight object in the first virtual fight objects and a fight attack type of the first target fight object based on a fight rule preset for the game scene; under the condition that the combat attack type is a short-distance attack type or a long-distance attack type, determining a virtual object to be attacked, which is nearest to the first virtual combat object, in each second virtual combat object; and under the condition that the number of the virtual objects to be attacked is a plurality of, determining a target attack object closest to the first virtual fight object in each virtual object to be attacked in a preset direction, and taking the target attack object as a second target fight object corresponding to the first target fight object.
2. The method of claim 1, wherein said constructing a combat directive parabola by invoking said combat directive identification construction method comprises:
And generating position information of a plurality of connecting points corresponding to the first position information and the second position information by calling the fight direction identifier construction method, and constructing a fight direction parabola based on each position information.
3. The method according to claim 1, wherein the method further comprises:
and if the first virtual fight object except the first target fight object does not exist in the first fight area under the condition that the fight attack type is the remote treatment attack type, matching a second target fight object corresponding to the first target fight object from the second virtual fight objects.
4. The method according to claim 1, wherein the method further comprises:
upon receiving a combat selection operation for the first virtual combat object, a cancellation display of the combat direction identifier in the game combat screen is displayed.
5. A game combat prompting device, comprising:
the game image display module is used for displaying a game fight image, wherein a first fight area and a second fight area in a game scene are displayed in the game fight image, a plurality of first virtual fight objects are placed in the first fight area, and a plurality of second virtual fight objects are placed in the second fight area;
A combat object determining module configured to determine, in a standby stage of the first virtual combat object and the second virtual combat object, a first target combat object in each of the first virtual combat objects, and a second target combat object corresponding to the first target combat object in each of the second virtual combat objects, based on a combat rule preset for the game scene;
the target combat target comprises a first target combat target, a second target combat target, a first directional identification display module, a second directional identification display module and a game combat screen, wherein the first target combat target comprises first position information of the first target combat target and second position information of the second target combat target;
the pointing identifier display module is used for transmitting the first position information and the second position information to an entry parameter of a predefined combat pointing identifier construction method; after parameter transmission is completed, constructing a fight indication parabola by calling the fight indication identifier construction method, and obtaining a fight indication identifier based on the fight indication parabola; wherein, based on the combat indication parabola, the combat direction mark is obtained, which comprises: based on the fight indication parabola, fight indication grid data are obtained; based on a preset grid drawing tool, carrying out grid connection drawing processing on the fight indication grid data to obtain a fight direction identifier; wherein, based on the combat indication parabola, combat indication grid data is obtained, comprising: identifying a plurality of points on the combat indicating parabola; drawing a circle according to a preset radius by taking the mark point as a circle center for each mark point; obtaining a three-dimensional curve based on the drawn circle; performing grid processing on the three-dimensional curve to obtain combat indicating grid data;
The combat object determining module is specifically configured to:
determining a first target fight object in the first virtual fight objects and a fight attack type of the first target fight object based on a fight rule preset for the game scene;
under the condition that the combat attack type is a short-distance attack type or a long-distance attack type, determining a virtual object to be attacked, which is nearest to the first virtual combat object, in each second virtual combat object;
and under the condition that the number of the virtual objects to be attacked is a plurality of, determining a target attack object closest to the first virtual fight object in each virtual object to be attacked in a preset direction, and taking the target attack object as a second target fight object corresponding to the first target fight object.
6. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the game combat prompting method of any of claims 1-4.
7. A computer readable storage medium storing computer instructions for causing a processor to implement the game combat prompting method of any of claims 1-4 when executed.
CN202310340546.0A 2023-03-31 2023-03-31 Game fight prompting method, game fight prompting device, electronic equipment and storage medium Active CN116351057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310340546.0A CN116351057B (en) 2023-03-31 2023-03-31 Game fight prompting method, game fight prompting device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310340546.0A CN116351057B (en) 2023-03-31 2023-03-31 Game fight prompting method, game fight prompting device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116351057A CN116351057A (en) 2023-06-30
CN116351057B true CN116351057B (en) 2024-03-29

Family

ID=86931147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310340546.0A Active CN116351057B (en) 2023-03-31 2023-03-31 Game fight prompting method, game fight prompting device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116351057B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003102962A (en) * 2001-09-28 2003-04-08 Sophia Co Ltd Game machine
CN109806595A (en) * 2019-02-22 2019-05-28 网易(杭州)网络有限公司 Labeling method, device, storage medium, processor and the terminal in orientation
CN109876442A (en) * 2019-04-15 2019-06-14 网易(杭州)网络有限公司 Route indicating means, equipment and storage medium in game based on map
CN110772795A (en) * 2019-10-24 2020-02-11 网易(杭州)网络有限公司 Game history operation display method, device, equipment and readable storage medium
CN113262489A (en) * 2021-04-28 2021-08-17 网易(杭州)网络有限公司 Game route generation method, game route generation device, nonvolatile storage medium, and electronic device
CN113546419A (en) * 2021-07-30 2021-10-26 网易(杭州)网络有限公司 Game map display method, device, terminal and storage medium
CN113769383A (en) * 2021-09-14 2021-12-10 网易(杭州)网络有限公司 Control method and device for virtual object in battle game and electronic equipment
CN114534258A (en) * 2022-01-20 2022-05-27 广州三七极耀网络科技有限公司 Game guide information display method, device, equipment and medium
CN114653059A (en) * 2022-02-28 2022-06-24 网易(杭州)网络有限公司 Method and device for controlling virtual character in game and non-volatile storage medium
CN115624749A (en) * 2022-08-29 2023-01-20 网易(杭州)网络有限公司 Mark reminding method and device, terminal equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003102962A (en) * 2001-09-28 2003-04-08 Sophia Co Ltd Game machine
CN109806595A (en) * 2019-02-22 2019-05-28 网易(杭州)网络有限公司 Labeling method, device, storage medium, processor and the terminal in orientation
CN109876442A (en) * 2019-04-15 2019-06-14 网易(杭州)网络有限公司 Route indicating means, equipment and storage medium in game based on map
CN110772795A (en) * 2019-10-24 2020-02-11 网易(杭州)网络有限公司 Game history operation display method, device, equipment and readable storage medium
CN113262489A (en) * 2021-04-28 2021-08-17 网易(杭州)网络有限公司 Game route generation method, game route generation device, nonvolatile storage medium, and electronic device
CN113546419A (en) * 2021-07-30 2021-10-26 网易(杭州)网络有限公司 Game map display method, device, terminal and storage medium
CN113769383A (en) * 2021-09-14 2021-12-10 网易(杭州)网络有限公司 Control method and device for virtual object in battle game and electronic equipment
CN114534258A (en) * 2022-01-20 2022-05-27 广州三七极耀网络科技有限公司 Game guide information display method, device, equipment and medium
CN114653059A (en) * 2022-02-28 2022-06-24 网易(杭州)网络有限公司 Method and device for controlling virtual character in game and non-volatile storage medium
CN115624749A (en) * 2022-08-29 2023-01-20 网易(杭州)网络有限公司 Mark reminding method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN116351057A (en) 2023-06-30

Similar Documents

Publication Publication Date Title
CN108970116B (en) Virtual role control method and device
CN113010896B (en) Method, apparatus, device, medium and program product for determining abnormal object
US20200004785A1 (en) Automatic grouping based on user behavior
CN113766487A (en) Cloud mobile phone information acquisition method, device, equipment and medium
CN113573146B (en) Method, apparatus, device, storage medium and program product for anchor interaction
CN113312560B (en) Group detection method and device and electronic equipment
CN116351057B (en) Game fight prompting method, game fight prompting device, electronic equipment and storage medium
CN117474091A (en) Knowledge graph construction method, device, equipment and storage medium
CN115545215B (en) Decentralizing federation cluster learning method, device, equipment and medium
CN116440504B (en) Game resource processing method, device and storage medium
CN114036551A (en) Data processing method and device for private data, computer equipment and medium
CN113577766A (en) Object processing method and device
CN113992729B (en) Cloud mobile phone control method, related device and computer program product
CN116351063B (en) Skill release processing method and device, electronic equipment and storage medium
CN116719621B (en) Data write-back method, device, equipment and medium for mass tasks
CN115107042B (en) Robot scheduling identifier resetting method, device, equipment and storage medium
CN116351064A (en) Array capacity recommendation method and device
CN116700996B (en) Memory allocation method, device, equipment and medium of neural network
CN115858125B (en) Rendering engine calling method and device, electronic equipment and storage medium
CN114071111B (en) Video playing method and device
CN117632149A (en) Control method and device of application program, electronic equipment and storage medium
CN116703963A (en) AR tracking method and device, AR equipment and storage medium
CN117270730A (en) Power grid line configuration method and device, electronic equipment and storage medium
CN116672718A (en) Role data display method and device, electronic equipment and storage medium
CN118113773A (en) Service processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant