CN110665231A - Method and device for controlling battle in game - Google Patents

Method and device for controlling battle in game Download PDF

Info

Publication number
CN110665231A
CN110665231A CN201910914100.8A CN201910914100A CN110665231A CN 110665231 A CN110665231 A CN 110665231A CN 201910914100 A CN201910914100 A CN 201910914100A CN 110665231 A CN110665231 A CN 110665231A
Authority
CN
China
Prior art keywords
unit
fighting
target
gain
combat
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.)
Granted
Application number
CN201910914100.8A
Other languages
Chinese (zh)
Other versions
CN110665231B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910914100.8A priority Critical patent/CN110665231B/en
Publication of CN110665231A publication Critical patent/CN110665231A/en
Application granted granted Critical
Publication of CN110665231B publication Critical patent/CN110665231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • A63F13/58Controlling game characters or game objects based on the game progress by computing conditions of game characters, e.g. stamina, strength, motivation or energy level
    • 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

Abstract

The embodiment of the invention provides a method and a device for controlling combat in a game, wherein the method comprises the following steps: responding to the selection operation of the candidate unit of the own party in the candidate area, and determining a target candidate unit of the own party; responding to the dragging operation of the target candidate unit, and moving the target candidate unit; responding to the movement of the touch point of the dragging operation or the movement of the target own unit to be selected to meet a first specified condition, and displaying a fighting gain in a specified range of the own unit to be combated according to the gain relation between the target own unit to be selected and the own unit to be combated. By applying the embodiment of the invention, the fighting gain of the target own unit to be selected acting on the own unit to be selected can be previewed in advance before the operation of the player, namely before the target own unit to be selected is not controlled to fight, so that the calculated amount and the memory amount of the player are reduced, and the game experience of the player is improved.

Description

Method and device for controlling battle in game
Technical Field
The embodiment of the invention relates to the technical field of games, in particular to a method and a device for controlling fighting in games.
Background
Card games, also known as Card games, such as CCG (Collectible Card Game) or TCG (Trading Card Game), are one of table games. The card game is based on card collection, and players need to collect cards by purchasing a randomly packaged supplement pack, and then flexibly use different cards to form a set of cards according with rules according to own strategies to play games.
In card games, cards are included, also known as combat units, which are units that can launch attacks and sustain injuries in card games, often referred to as "creatures" in TCGs. In a conventional card game, a life value (blood volume) to be deducted when an enemy combat unit attacks each other is displayed beside a life value of a self combat unit. Referring to fig. 1, in fig. 1, 4 fighting units are included, assuming that the first row is an enemy fighting unit and the second row is a self fighting unit, when a player operates a new self fighting unit to join in the fighting, the lower right corner of each fighting unit displays the amount of blood to be deducted, for example, the lower right corner of the right self fighting unit in the second row displays a numerical value of "-4", which indicates that the amount of blood in the self fighting unit is deducted by 4 after the new self fighting unit joins in the fighting.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed in order to provide an in-game combat control method and a corresponding in-game combat control apparatus that overcome or at least partially solve the above-mentioned problems.
In order to solve the above problems, an embodiment of the present invention discloses a method for controlling fighting in a game, in which a graphical user interface is obtained by executing a software application on a processor of an electronic device and rendering the software application on a display screen of the electronic device, the graphical user interface includes a fighting area and a candidate area, the fighting area includes a local fighting unit, and the candidate area includes at least one local candidate unit, the method includes:
responding to the selection operation of the candidate unit of the own party in the candidate area, and determining a target candidate unit of the own party;
responding to the dragging operation of the target candidate unit, and moving the target candidate unit;
responding to the movement of the touch point of the dragging operation or the movement of the target own unit to be selected to meet a first specified condition, and displaying a fighting gain in a specified range of the own unit to be combated according to the gain relation between the target own unit to be selected and the own unit to be combated.
Preferably, the method further comprises:
and responding to the movement of the touch point of the dragging operation or the movement of the target own unit to be selected to meet a second specified condition, and controlling the own fighting unit to fight according to the fighting gain.
Preferably, the step of moving the target candidate unit in response to the drag operation on the target candidate unit includes:
responding to the dragging operation of the target own unit to be selected, and determining a dragging track;
and moving the target own unit to be selected according to the dragging track.
Preferably, the step of displaying the fighting gain within the specified range of the own fighting unit according to the gain relationship between the target own candidate unit and the own fighting unit comprises:
determining the gain relation between the target own unit to be selected and the own fighting unit;
acquiring the own fighting numerical value of the own fighting unit;
calculating the fighting gain provided by the target own party unit to be selected for the own party unit according to the gain relation and the own party fighting numerical value;
displaying the combat gain within a specified range of the own combat unit.
Preferably, the method further comprises:
determining a gain attribute of the combat gain; the gain attribute comprises a positive gain and a negative gain;
determining a visual identification of the combat gain according to the gain attribute;
displaying the visual identification within a specified range of the own combat unit.
Preferably, the method further comprises:
clearing displays the combat gain within a specified range of the own combat unit.
The embodiment of the invention also discloses a fighting control device in a game, a graphical user interface is obtained by executing software application on a processor of electronic equipment and rendering on a display screen of the electronic equipment, the graphical user interface comprises a fighting area and a to-be-selected area, the fighting area comprises a fighting unit of a own party, the to-be-selected area comprises at least one unit of the own party to be selected, and the device comprises:
the target candidate unit determining module is used for responding to the selection operation of the candidate unit of the candidate in the candidate area and determining the target candidate unit;
the target own unit-to-be-selected moving module is used for responding to the dragging operation of the target own unit-to-be-selected and moving the target own unit-to-be-selected;
and the fighting gain display module is used for responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a first specified condition, and displaying the fighting gain within a specified range of the own unit to be selected according to the gain relation between the target own unit to be selected and the own unit to be selected.
Preferably, the apparatus further comprises:
and the fighting control module is used for responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a second specified condition and controlling the own unit to fight according to the fighting gain.
The embodiment of the invention also discloses an electronic device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform one or more of the method steps as described in embodiments of the invention.
Embodiments of the invention also disclose a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform one or more of the method steps as described in embodiments of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the target self unit to be selected is determined by responding to the selection operation of the self unit to be selected in the area to be selected, the target fighting unit is moved by responding to the dragging operation of the target fighting unit, then the movement of the touch point of the dragging operation is responded, or the movement of the target self unit to be selected meets a first specified condition, and the fighting gain is displayed in the specified range of the self unit to be selected according to the gain relation between the target self unit to be selected and the self unit to be selected.
Drawings
FIG. 1 is a schematic illustration of a display of the variation of the blood volume in combat units in a card game;
FIG. 2 is a flow chart of steps of an embodiment of a method of in-game combat control of the present invention;
FIG. 3 is a flow chart of steps in another embodiment of a method of combat control in a game of the present invention;
FIG. 4 is a schematic illustration of a display of a combat gain of the present invention;
FIG. 5 is a schematic diagram of a combat gain display according to the present invention;
fig. 6 is a block diagram of a battle control device in a game according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In the prior art, the display mode of the battle value such as the blood volume is static, for example, the blood volume "4" deducted in fig. 1 is the result expression of the player operating the new own fighting unit after joining the battle, and the causal relationship between the change of the battle value and the player operation cannot be expressed.
The change of the one-time combat value is caused by the fact that a player operates a new own combat unit to join in a combat, how to show the causal relationship between the operation of the player and the change of the forthcoming combat value, and previewing the change of the combat value before the operation is achieved is unsolved by the existing scheme. Secondly, the existing scheme can only display the fighting numerical value to be consumed, and cannot enable the player to quickly realize the effect brought by the change of the fighting numerical value.
In view of the above problems, one of the core ideas of the embodiments of the present invention is to preview the fighting gain after the target own unit to be selected acts on the own unit in advance before the player operates the target own unit to be selected to join in the fighting, so as to reduce the memory and the calculation of the player and improve the game experience of the player.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a method for controlling fighting in a game according to the present invention is shown, in which a graphical user interface is obtained by executing a software application on a processor of an electronic device and rendering the software application on a display screen of the electronic device, the graphical user interface includes a fighting area and a candidate area, the fighting area includes a local fighting unit, and the candidate area includes at least one local candidate unit.
In a specific implementation, the electronic device may include a mobile Phone, a tablet Computer, a PC (Personal Computer), and the like, and the operating system of the electronic device may include Android, IOS, Windows Phone, Windows, and the like, and may support running of various games. Of course, the above examples are only examples, and the embodiments of the present invention are not limited thereto.
The method includes the steps of running a game application on the electronic device, and rendering a graphical User Interface (UI) on a touch display screen of the electronic device, wherein content displayed by the UI at least partially includes a part or all of a game scene, and the specific form of the game scene may be a square shape or other shapes (e.g., a circular shape).
The game scene comprises a fighting area and a candidate area, wherein the fighting area can comprise own fighting units, and certainly the fighting area can also comprise enemy fighting units, wherein the candidate area comprises at least one own unit which is not added into the fighting area. In a card game, the card game may be embodied as a card.
It should be noted that the own candidate unit may be a combat unit which initiates an attack and is subjected to an injury, such as a monster card, or may be a non-combat unit, such as a magic card or a trap card, which may improve the operational capability of the own combat unit.
The method for controlling the battle in the game of the embodiment of the invention specifically comprises the following steps:
step 101, responding to the selection operation of the candidate unit of the own party in the candidate area, and determining the target candidate unit of the own party.
In practical application, if a selection operation of a candidate unit of one party in the region to be selected is received, the candidate unit of the party corresponding to the selection operation is determined as the target candidate unit of the party, wherein the selection operation may include a pressing operation or a clicking operation. For example, when the player holds down or clicks a local candidate unit, the local candidate unit is determined as the target local candidate unit.
And 102, responding to the dragging operation of the target own unit to be selected, and moving the target own unit to be selected.
After the target combat unit is determined, if a dragging operation on the target combat unit is received, moving the target own unit to be selected on the graphical user interface based on the dragging operation. For example, the target candidate unit may be moved to a combat area of the graphical user interface, or the target candidate unit may be moved a distance and then moved back to the candidate area.
Step 103, responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a first specified condition, and displaying a fighting gain within a specified range of the own unit to be fought according to the gain relation between the target own unit to be selected and the own unit to be fought.
The electronic equipment provided by the embodiment of the invention can perform touch operation, and the electronic equipment comprises a touch screen (touchscreen). The touch screen may also be referred to as a "touch screen" or a "touch panel", and is an inductive liquid crystal display device capable of receiving input signals such as a contact, and may specifically include a resistive touch screen, a capacitive touch screen, and the like, which is not limited in the embodiments of the present invention.
In order to make the embodiment of the present invention better understood by those skilled in the art, in the embodiment of the present invention, a capacitive technology touch screen is described as an example of the touch screen. Specifically, when a user performs a pressing, clicking or dragging operation on the electronic device, a capacitance change occurs at a position where the operation is performed, that is, a touch point, and thus the touch point can be determined by measuring the capacitance change.
In the embodiment of the invention, if the movement of the touch point of the dragging operation is monitored, or the movement of the target own unit to be selected is monitored to meet the first specified condition, the fighting gain can be displayed in the specified range of the own unit to be selected according to the gain relation between the target own unit to be selected and the own unit to be selected.
In the game, each combat unit has its corresponding combat value, i.e. blood volume, offensive power, shield, etc., which can be presented to the player in a graphical user interface. Different own candidate units and own fighting units have corresponding gain relations, for example, magic cards can improve the fighting capacity of the own fighting units (increase the blood volume or improve the attack power), and trap cards can reduce the fighting capacity of enemy fighting units (decrease the blood volume or reduce the attack power). The gain relationship may be obtained based on game rules set in the game.
After the gain relation is determined, the fighting gain of the target own unit to be selected acting on the own fighting unit can be calculated according to the gain relation, and the fighting gain is displayed in the specified range of the own fighting unit.
The fighting gain refers to the variation of the fighting value, specifically, if the target unit to be selected by the player is magic card, the fighting gain is "13" if the target unit to be selected by the player is magic card and the target unit to be selected by the player is magic card, the target unit to be selected by the player can be blood volume of the own fighting unit plus "4". In another embodiment, the fighting gain can be only shown as the increased blood volume "4" of the magic card for the own fighting unit, which is not limited by the invention.
By displaying the fighting gain after the target own unit to be selected is used for the player, the player can quickly analyze whether the target own unit to be selected is added into the fighting or not, and the game experience of the player is improved.
The embodiment of the invention can only consider the action of the target own unit to be selected on the own fighting unit when calculating the fighting gain, but can not combine other fighting units in a fighting area, such as an enemy fighting unit, to calculate the fighting gain; secondly, a certain card game strategy is hoped to be reserved, and incomplete automatic processing is realized.
For example, assume that there is a. own combat unit; b. and (3) a special card of the own fighting unit (which can bring gains such as attack value or blood volume value for the own fighting unit, namely a target own unit to be selected), and when b is dragged out and is about to be used, the fighting gains after b acts on a are presented beside the attack and blood volume positions of a.
Preferably, considering that the fighting numerical values can include various kinds, such as blood volume, shield, attack and the like, the fighting gain can be correspondingly displayed beside each fighting numerical value of the own fighting unit, so that the player can know the change situation of the fighting numerical value of the target own unit after the target own unit to be selected acts on the own fighting unit at a glance.
In the embodiment of the invention, the target self unit to be selected is determined by responding to the selection operation of the self unit to be selected in the area to be selected, the target fighting unit is moved by responding to the dragging operation of the target fighting unit, then the movement of the touch point of the dragging operation is responded, or the movement of the target self unit to be selected meets a first specified condition, and the fighting gain is displayed in the specified range of the self unit to be selected according to the gain relation between the target self unit to be selected and the self unit to be selected.
Referring to fig. 3, a flowchart illustrating steps of another embodiment of a method for controlling fighting in a game according to the present invention is shown, in which a graphical user interface is obtained by executing a software application on a processor of an electronic device and rendering the software application on a display screen of the electronic device, the graphical user interface includes a fighting area and a candidate area, the fighting area includes a local fighting unit, and the candidate area includes at least one local candidate unit.
The combat control method in the game specifically comprises the following steps:
step 201, in response to the selection operation of the candidate unit of the own party in the candidate area, determining a target candidate unit of the own party.
Step 202, determining a dragging track in response to the dragging operation of the target own unit to be selected; and moving the target own unit to be selected according to the dragging track.
In the card game, the player may select a target chosen unit from the candidate area by a pressing operation and move the target chosen unit by determining a drag trajectory based on a drag operation in the graphic user interface. For example, the mobile terminal may move to a battle area or move back to a candidate area, or of course, may move back and forth between the battle area and the candidate area.
Step 203, responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a first specified condition, and displaying a fighting gain within a specified range of the own unit to be fought according to the gain relation between the target own unit to be selected and the own unit to be fought.
In the process of moving the target self-selected unit, the dragging straight-line distance of the dragging track is calculated, wherein the dragging straight-line distance refers to the distance between the starting point position when the player presses the target self-selected unit in the selected area and the current position of the target self-selected unit after moving, and the dragging straight-line distance can be calculated by calculating the distance between the starting point position and the current position.
After the dragging linear distance is calculated, whether the dragging linear distance reaches a preset numerical value or not is judged, if the dragging linear distance reaches the preset numerical value, the first specified condition can be considered to be met, and the fighting gain can be calculated according to the gain relation between the target own unit to be selected and the own fighting unit.
Of course, in practice, when the movement of the touch point of the target candidate unit of the own party is monitored, the fighting gain may also be calculated according to the gain relationship between the target candidate unit of the own party and the fighting unit of the own party, which is not limited in the embodiment of the present invention.
In a preferred embodiment, the step 203 may comprise: determining the gain relation between the target own unit to be selected and the own fighting unit; acquiring the own fighting numerical value of the own fighting unit; calculating the fighting gain provided by the target own party unit to be selected for the own party unit according to the gain relation and the own party fighting numerical value; displaying the combat gain within a specified range of the own combat unit.
After the gain relation between the target own unit to be selected and the own fighting unit is determined, the fighting gain can be calculated by combining the fighting numerical values of the own fighting unit. After the combat gains are calculated, the combat gains can be displayed next to the corresponding combat values for the own combat units in the combat area.
For example, if the target own unit to be selected is a magic card capable of adding attributes, the fighting values of the own unit to shield, attack or blood volume after the card acts on the own unit can be calculated accordingly, that is, the fighting gains.
And 204, responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a second specified condition, and controlling the own fighting unit to fight according to the fighting gain.
After the fighting gain is displayed, whether the target own unit to be selected carries out fighting or not can be controlled, so that the own unit to be selected carries out fighting according to the fighting gain.
The embodiment of the invention can control the target own unit to be selected to fight when the movement of the touch point of the dragging operation is monitored, for example, the touch point is moved to a specified position, or the touch point is monitored to move.
In addition, if the movement of the target own unit to be selected meets a second specified condition, for example, the target own unit to be selected is dragged to a fighting area, the target own unit to be selected can also be controlled to fight.
Preferably, in order to make the combat gains more intuitive and provide corresponding visual identifiers for the gain effects brought by different combat gains, the embodiment of the present invention is implemented as the following steps 205 to 207.
Step 205, determining the gain attribute of the combat gain;
step 206, determining a visual identifier of the battle gain according to the gain attribute;
step 207, displaying the visual identification within the specified range of the own fighting unit.
In the embodiment of the invention, the battle gains can be displayed with different projections according to the gain attributes, namely different visual marks are provided, and visual level differentiation is formed.
Specifically, the gain attribute of the embodiment of the present invention may be a positive gain and a negative gain, and the gain attribute may be determined according to the combat gain and a combat value of the own combat unit (referred to as the second combat value herein for short), for example, when the combat gain is greater than the second combat value, a first visual identifier is provided for the combat gain; and when the fighting gain is smaller than the second party fighting numerical value, providing a second visual identification for the fighting gain.
In the embodiment of the present invention, the visual identifier may be provided according to the gain attribute, and in a preferred example, the visual identifier may be a color, for example, if the gain is positive, the visual identifier is displayed in green, if the gain is negative, the visual identifier is displayed in red, if the attribute is no, that is, the fighting gain is the same as the second party fighting value, and if the target own party candidate unit has no influence on the own party fighting unit, the target own party candidate unit may keep the same color as the second party fighting value, or the fighting gain is not displayed directly.
Of course, in practical applications, the visual identifier is not limited to the green or red color, and may be other colors, which is not limited in this embodiment of the present invention, and besides, the visual identifier may also be in other manners besides different colors, such as amplification, 3D, and red frame, as long as the difference and the relationship between the positive gain and the negative gain can be presented, which is also not limited in this embodiment of the present invention.
Referring to fig. 4, a schematic diagram of a display of a fighting gain according to the present invention is shown, in which beside the original field fighting value (1, 3, 6) of the one party fighting unit, the corresponding fighting result value (6, 0, 2) affected by the target fighting unit is displayed, and in addition, in order to better distinguish the fighting result value from the field fighting value, different visual identifiers, such as different colors, can be further provided for the fighting result value.
By providing different visual identifiers, the embodiment of the invention can enable the player to judge the gain effect brought by the target own unit to be selected according to the visual identifiers such as colors, and the like, and even can make a decision whether to control the target own unit to be selected to fight without carefully looking at specific numerical values, thereby improving the fighting efficiency of the player and improving the game experience of the player.
In the embodiment of the present invention, the method may further include: clearing displays the combat gain within a specified range of the own combat unit.
After the fighting gains are displayed, the player can control the target own unit to be selected to enter the fighting or drag the target own unit to be selected back to the area to be selected through dragging operation, and at the moment, the fighting gains displayed beside the own unit to be selected can be eliminated.
By applying the embodiment of the invention, the fighting gain can be previewed in advance before the player fights in the unit to be selected of the own control target, so that the memory and the calculation amount of the player can be reduced, and in addition, the fighting gain can be distinguished through different visual identifiers, thereby being convenient for the player to check.
In order to make those skilled in the art better understand the embodiment of the present invention, a specific example is used to describe below, and refer to a schematic process diagram of a combat gain display shown in fig. 5, in the left side diagram of fig. 5, an enemy combat unit and a self combat unit in a combat area, and a self combat unit in a to-be-selected area, where the card in the middle is the self combat unit, when a player selects a target self combat unit from the to-be-selected area, the target self combat unit enters an activated state and is in an amplified state, specifically as shown in the position of the finger of the player on the right side of fig. 5, at this time, the combat gain (3, 7) of the target self combat unit acting on the self combat unit is calculated and displayed beside the combat value (1, 6) of the self combat unit.
By applying the embodiment of the invention, the player can preview the fighting gain after the target own unit to be selected acts on the own fighting unit in advance, thereby reducing the memory and the calculation amount of the player and improving the game experience of the player.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a block diagram of a structure of an embodiment of a combat control apparatus in a game according to the present invention is shown, where a graphical user interface is obtained by executing a software application on a processor of an electronic device and rendering the software application on a display screen of the electronic device, where the graphical user interface includes a combat area and a candidate area, the combat area includes a local combat unit, and the candidate area includes at least one local candidate unit, where the apparatus may specifically include the following modules:
a target candidate unit determining module 301, configured to determine a target candidate unit in response to a selection operation on a candidate unit of a candidate in the candidate area;
a target candidate unit moving module 302, configured to move the target candidate unit in response to a dragging operation on the target candidate unit;
the fighting gain display module 303 is configured to display a fighting gain within a specified range of the own fighting unit according to a gain relationship between the target own unit to be selected and the own fighting unit in response to that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected satisfies a first specified condition.
In a preferred embodiment of the present invention, the apparatus further comprises:
and the fighting control module is used for responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a second specified condition and controlling the own unit to fight according to the fighting gain.
In a preferred embodiment of the present invention, the target candidate unit moving module 302 includes:
the dragging track determining submodule is used for responding to dragging operation of the target own unit to be selected and determining a dragging track;
and the moving submodule is used for moving the target own unit to be selected according to the dragging track.
In a preferred embodiment of the present invention, the combat gain display module 303 includes:
the gain relation determining submodule is used for determining the gain relation between the target own unit to be selected and the own fighting unit;
the fighting numerical value acquisition submodule is used for acquiring the own fighting numerical value of the own fighting unit;
the fighting gain calculation submodule is used for calculating the fighting gain provided by the target own party unit to be selected for the own party unit according to the gain relation and the own party fighting numerical value;
a display sub-module for displaying the fighting gain within a specified range of the own fighting unit.
In a preferred embodiment of the present invention, the apparatus further comprises:
a gain attribute determination module for determining a gain attribute of the combat gain; the gain attribute comprises a positive gain and a negative gain;
the visual identifier determining module is used for determining the visual identifier of the combat gain according to the gain attribute;
and the visual identifier display module is used for displaying the visual identifier in the specified range of the own fighting unit.
In a preferred embodiment of the present invention, the apparatus further comprises:
and the fighting gain clearing module is used for clearing the fighting gain displayed in the specified range of the own fighting unit.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform steps of a method as described by embodiments of the invention.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the steps of the method according to embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. The term "comprising" is used to specify the presence of stated elements, but not necessarily the presence of stated elements, unless otherwise specified.
The detailed description is given above to a method and a device for controlling fighting in game provided by the present invention, and a specific example is applied in the description to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for controlling fighting in a game, the method comprising the steps of executing a software application on a processor of an electronic device and rendering a graphical user interface on a display screen of the electronic device, wherein the graphical user interface comprises a fighting area and a candidate area, the fighting area comprises a local fighting unit, and the candidate area comprises at least one local candidate unit, the method comprising:
responding to the selection operation of the candidate unit of the own party in the candidate area, and determining a target candidate unit of the own party;
responding to the dragging operation of the target candidate unit, and moving the target candidate unit;
responding to the movement of the touch point of the dragging operation or the movement of the target own unit to be selected to meet a first specified condition, and displaying a fighting gain in a specified range of the own unit to be combated according to the gain relation between the target own unit to be selected and the own unit to be combated.
2. The method of claim 1, further comprising:
and responding to the movement of the touch point of the dragging operation or the movement of the target own unit to be selected to meet a second specified condition, and controlling the own fighting unit to fight according to the fighting gain.
3. The method of claim 1, wherein the step of moving the target candidate unit in response to the drag operation on the target candidate unit comprises:
responding to the dragging operation of the target own unit to be selected, and determining a dragging track;
and moving the target own unit to be selected according to the dragging track.
4. The method of claim 1, wherein the step of displaying a combat gain within a specified range of the own combat unit according to the target own unit of choice and own combat unit gain relationship comprises:
determining the gain relation between the target own unit to be selected and the own fighting unit;
acquiring the own fighting numerical value of the own fighting unit;
calculating the fighting gain provided by the target own party unit to be selected for the own party unit according to the gain relation and the own party fighting numerical value;
displaying the combat gain within a specified range of the own combat unit.
5. The method of claim 4, further comprising:
determining a gain attribute of the combat gain; the gain attribute comprises a positive gain and a negative gain;
determining a visual identification of the combat gain according to the gain attribute;
displaying the visual identification within a specified range of the own combat unit.
6. The method of claim 2, further comprising:
clearing displays the combat gain within a specified range of the own combat unit.
7. A combat control apparatus in a game, wherein a graphical user interface is obtained by executing a software application on a processor of an electronic device and rendering the software application on a display screen of the electronic device, the graphical user interface comprising a combat zone and a candidate zone, the combat zone comprising a local combat unit and the candidate zone comprising at least one local candidate unit, the apparatus comprising:
the target candidate unit determining module is used for responding to the selection operation of the candidate unit of the candidate in the candidate area and determining the target candidate unit;
the target own unit-to-be-selected moving module is used for responding to the dragging operation of the target own unit-to-be-selected and moving the target own unit-to-be-selected;
and the fighting gain display module is used for responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a first specified condition, and displaying the fighting gain within a specified range of the own unit to be selected according to the gain relation between the target own unit to be selected and the own unit to be selected.
8. The apparatus of claim 7, further comprising:
and the fighting control module is used for responding that the movement of the touch point of the dragging operation or the movement of the target own unit to be selected meets a second specified condition and controlling the own unit to fight according to the fighting gain.
9. An electronic device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the steps of the method of one or more of claims 1-6.
10. A computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the steps of the method of one or more of claims 1-6.
CN201910914100.8A 2019-09-25 2019-09-25 Combat control method and device in game Active CN110665231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910914100.8A CN110665231B (en) 2019-09-25 2019-09-25 Combat control method and device in game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910914100.8A CN110665231B (en) 2019-09-25 2019-09-25 Combat control method and device in game

Publications (2)

Publication Number Publication Date
CN110665231A true CN110665231A (en) 2020-01-10
CN110665231B CN110665231B (en) 2023-07-25

Family

ID=69079089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910914100.8A Active CN110665231B (en) 2019-09-25 2019-09-25 Combat control method and device in game

Country Status (1)

Country Link
CN (1) CN110665231B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113509730A (en) * 2021-05-19 2021-10-19 腾讯科技(上海)有限公司 Information preview method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155621A (en) * 2005-03-31 2008-04-02 科乐美数码娱乐株式会社 Match game system and game device
CN102772888A (en) * 2012-08-17 2012-11-14 苏州云都网络技术有限公司 Game card imitating swordsmen fighting and operation method thereof
US20130337919A1 (en) * 2012-06-15 2013-12-19 DeNA Co., Ltd. Device for providing a game
JP2016185284A (en) * 2015-03-27 2016-10-27 株式会社バンダイナムコエンターテインメント Server system, system, and program
CN108721894A (en) * 2017-04-19 2018-11-02 株式会社得那 Information processing unit, games and information processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155621A (en) * 2005-03-31 2008-04-02 科乐美数码娱乐株式会社 Match game system and game device
US20130337919A1 (en) * 2012-06-15 2013-12-19 DeNA Co., Ltd. Device for providing a game
CN102772888A (en) * 2012-08-17 2012-11-14 苏州云都网络技术有限公司 Game card imitating swordsmen fighting and operation method thereof
JP2016185284A (en) * 2015-03-27 2016-10-27 株式会社バンダイナムコエンターテインメント Server system, system, and program
CN108721894A (en) * 2017-04-19 2018-11-02 株式会社得那 Information processing unit, games and information processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113509730A (en) * 2021-05-19 2021-10-19 腾讯科技(上海)有限公司 Information preview method, device, equipment and storage medium
CN113509730B (en) * 2021-05-19 2023-09-22 腾讯科技(上海)有限公司 Information preview method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110665231B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN110270086B (en) Method and device for controlling movement of virtual character in game
CN110665228B (en) Method and device for controlling character cards in game
WO2022041663A1 (en) Method for recommending and purchasing virtual prop of game, and electronic device
US10716997B2 (en) Information processing method and apparatus, electronic device, and storage medium
CN111084980B (en) Method and device for purchasing virtual article
CN109621411B (en) Information processing method, information processing device, electronic equipment and storage medium
CN107837531B (en) Information processing method, device, electronic equipment and storage medium
US10716996B2 (en) Information processing method and apparatus, electronic device, and storage medium
US20190083887A1 (en) Information processing method, apparatus and non-transitory storage medium
US11602690B2 (en) Method and apparatus for controlling virtual camera in game
CN108144293A (en) Information processing method, information processing device, electronic equipment and storage medium
US20240123331A1 (en) Method and electronic device for processing game signal
CN107596688B (en) Skill release control method and device, storage medium, processor and terminal
CN110448904B (en) Game view angle control method and device, storage medium and electronic device
CN107899246B (en) Information processing method, information processing device, electronic equipment and storage medium
CN109663345B (en) Information processing method and device for 3D game
CN111494935A (en) Method and device for controlling virtual object in game
CN112619137A (en) Game picture switching method and device, electronic equipment and storage medium
CN108363541A (en) touch screen input control method, device, equipment and storage medium
CN110665231A (en) Method and device for controlling battle in game
CN108491144B (en) Control method and device for game skill release direction, processor and terminal
CN103412718A (en) Card moving method and system based on double-finger control
CN106484235B (en) A kind of self-defined method and apparatus that game operation interface is set
CN112274927A (en) Game interaction method and device and electronic equipment
CN106708364A (en) Multi-media file display method and terminal device

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