CN110665231B - Combat control method and device in game - Google Patents

Combat control method and device in game Download PDF

Info

Publication number
CN110665231B
CN110665231B CN201910914100.8A CN201910914100A CN110665231B CN 110665231 B CN110665231 B CN 110665231B CN 201910914100 A CN201910914100 A CN 201910914100A CN 110665231 B CN110665231 B CN 110665231B
Authority
CN
China
Prior art keywords
unit
combat
target
gain
candidate
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
CN201910914100.8A
Other languages
Chinese (zh)
Other versions
CN110665231A (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

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 combat control method and a combat control device in a game, wherein the method comprises the following steps: determining a target own unit to be selected in response to a selection operation of the own unit to be selected in the area to be selected; moving the target own unit to be selected in response to a drag operation on the target own unit to be selected; and responding to 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 combat gain in a specified range of the own combat unit according to the gain relation between the target own unit to be selected and the own combat unit. By the embodiment of the invention, before the player operates, namely before the target own unit to be selected is controlled to fight, the target own unit to be selected can be previewed in advance to the fight gain of the target own unit to act on the own unit to be selected, so that the calculated amount and the memory amount of the player are reduced, and the game experience of the player is improved.

Description

Combat control method and device in game
Technical Field
The embodiment of the invention relates to the technical field of games, in particular to a fight control method in a game and a fight control device in the game.
Background
Card games, also known as card games, such as CCG (Collectible Card Game ) or TCG (Trading Card Game, trading card game), are one type of table game. Card games are based on collecting cards, players need to collect cards by purchasing a randomly packaged supplementary package, and then flexibly use different cards to form a set of cards conforming to rules according to own strategies to play games.
Cards are included in card games, also known as combat units, which are units in card games that can initiate an attack, sustain injury, and are often referred to as "creatures" in TCGs. In a conventional card game, a life value (blood volume) deducted when a opponent fight unit attacks against each other is displayed next to a life value of a own fight unit. Referring to fig. 1, 4 units are included in fig. 1, assuming that the first row is an enemy unit and the second row is a own unit, when a player operates a new own unit to join a battle, the blood volume to be subtracted is displayed at the lower right corner of each unit, for example, a value of "-4" is displayed at the lower right corner of the second row of right own units, indicating that the blood volume of the own unit is subtracted by 4 after the new own unit joins the battle.
Disclosure of Invention
In view of the above problems, embodiments of the present invention have been made to provide a combat control method in a game and a corresponding combat control device in a game that overcome or at least partially solve the above problems.
In order to solve the above-mentioned problems, an embodiment of the present invention discloses a combat control method in a game, by 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, the graphical user interface includes a combat area and a candidate area, the combat area includes a own combat unit, the candidate area includes at least one own candidate unit, the method includes:
determining a target own unit to be selected in response to a selection operation of the own unit to be selected in the area to be selected;
moving the target own unit to be selected in response to a drag operation on the target own unit to be selected;
and responding to 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 combat gain in a specified range of the own combat unit according to the gain relation between the target own unit to be selected and the own combat unit.
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 candidate unit to meet a second specified condition, and controlling the own combat unit to combat according to the combat gain.
Preferably, the step of moving the target own unit to be selected in response to a drag operation on the target own unit to be selected includes:
determining a dragging track in response to a dragging operation of the target own unit to be selected;
and moving the target own unit to be selected according to the dragging track.
Preferably, the step of displaying the battle gain in a specified range of the own battle unit according to the gain relation of the target own candidate unit and the own battle unit includes:
determining the gain relation between the target own candidate unit and own combat unit;
acquiring a own combat value of the own combat unit;
calculating the combat gain provided by the target own candidate unit for the own combat unit according to the gain relation and the own combat value;
the combat gain is displayed 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 includes a positive gain and a negative gain;
determining a visual identification of the combat gain according to the gain attribute;
the visual identification is displayed within a specified range of the own combat unit.
Preferably, the method further comprises:
clearing the combat gain displayed within the specified range of the own combat unit.
The embodiment of the invention also discloses a fight control device in the game, which is characterized in that a software application is executed on a processor of the electronic equipment, and a graphic user interface is rendered on a display screen of the electronic equipment, wherein the graphic user interface comprises a fight area and a candidate area, the fight area comprises a fight unit of own, the candidate area comprises at least one unit of own candidate, and the device comprises:
the target own unit to be selected determining module is used for determining the target own unit to be selected in response to the selection operation of the own unit to be selected in the area to be selected;
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 combat gain display module is used for 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 the combat gain in 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 combat.
Preferably, the apparatus further comprises:
and the combat control module is used for 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 combat unit to combat according to the combat 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 the steps of one or more methods according to embodiments of the present invention.
Embodiments of the present 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 the steps of one or more methods according to embodiments of the present invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the target own unit to be selected is determined in response to the selection operation of the own unit to be selected in the area to be selected, then the target own unit to be selected is moved in response to the dragging operation of the target own unit to be selected, and then the touch point of the dragging operation is moved in response to the movement of the target own unit to be selected, or the movement of the target own unit to be selected meets the first specified condition, and the combat gain is displayed in the specified range of the own unit according to the gain relation between the target own unit to be selected and the own unit.
Drawings
FIG. 1 is a schematic illustration showing change in blood volume of a combat unit 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 of another embodiment of a method of in-game combat control of the present invention;
FIG. 4 is a schematic representation of a combat gain of the present invention;
FIG. 5 is a schematic diagram of a process for combat gain display in accordance with the present invention;
fig. 6 is a block diagram showing the construction of an embodiment of a combat control device in a game according to the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
In the prior art scheme for displaying the fight value such as the blood volume, the display mode of the change of the fight value is static display, for example, the subtracted blood volume "4" in fig. 1 is the result expression of the player after the new own fight unit is added to the fight, and the causal relationship between the change of the fight value and the player operation cannot be expressed.
The change of the battle value at one time is caused by that a player operates a new own battle unit to join in a battle, and how to show the causal relationship between the player operation and the change of the battle value to be brought in, so that the change of the battle value can be previewed in advance before the operation is achieved, which is not solved by the prior proposal. Second, the existing schemes only display the combat value to be consumed, and do not allow the player to quickly recognize the effect of the change in combat value.
Aiming at the problems, one of the core concepts of the embodiment of the invention is that before a player operates a target own candidate unit to join in a battle, the target own candidate unit can be previewed in advance to the battle gain after acting on the own battle unit, thereby reducing the memory and the calculation of the player and improving the game experience of the player.
Referring to fig. 2, a flowchart illustrating steps of an embodiment of a method of in-game combat control according to the present invention is shown, wherein a graphical user interface is rendered on a display screen of an electronic device by executing a software application on the processor of the electronic device, the graphical user interface comprising a combat zone and a candidate zone, the combat zone comprising a host combat unit and the candidate zone comprising at least one host candidate unit.
In a specific implementation, the electronic devices may include mobile phones, tablet computers, PCs (Personal Computer, personal computers), and the like, and the operating systems of these electronic devices may include Android, IOS, windows Phone, windows, and the like, and may support the running of various games. Of course, the above is by way of example only, and embodiments of the present invention are not limited thereto.
Running a game application on the electronic device, and rendering a graphical User Interface (UI) on a touch display screen of the electronic device, where the content displayed by the graphical User Interface at least partially includes a partial or complete game scene, and the specific form of the game scene may be square, or may be other shapes (such as a circle, etc.).
The game scene comprises a combat zone and a candidate zone, wherein the combat zone can comprise own combat units, and can also comprise enemy combat units in the combat zone, and the candidate zone comprises at least one own candidate unit which is not added into the combat zone. In card games, cards may be embodied.
It should be noted that the host candidate may be a battle unit that initiates an attack, receives injury, such as a monster card, or may be a non-battle unit, such as a magic card or trap card, that may enhance battle capacity for the host battle unit.
The fight control method in the game of the embodiment of the invention specifically comprises the following steps:
and step 101, determining a target own unit to be selected in response to the selection operation of the own unit to be selected in the area to be selected.
In practical application, if a selection operation of a unit to be selected in the to-be-selected area is received, determining the unit to be selected corresponding to the selection operation as a target unit to be selected, where the selection operation may include a pressing operation or a clicking operation. For example, when a player holds or clicks on a certain own candidate unit, the own candidate unit is determined as a target own candidate unit.
Step 102, in response to the drag operation of the target own unit to be selected, moving the target own unit to be selected.
After the target combat unit is determined, if a drag operation is received on the target combat unit, the target own candidate unit is moved on the graphical user interface based on the drag operation. For example, the target own unit to be selected may be moved to the combat area of the gui, or may be moved back to the area to be selected after being moved a distance.
And step 103, 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 the combat gain in a specified range of the own combat unit according to the gain relation between the target own unit to be selected and the own combat unit.
The electronic device provided by the embodiment of the invention can perform touch operation, and the electronic device comprises a touch screen (touch screen). The touch screen may also be referred to as a "touch screen", "touch panel", and is an inductive liquid crystal display device capable of receiving input signals such as contacts, 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 for those skilled in the art to better understand the embodiments of the present invention, in the embodiments of the present invention, a capacitive touch screen is described as an example of a touch screen. Specifically, when a user performs a pressing, clicking or dragging operation on the electronic device, the position where the operation is performed, that is, the touch point, changes in capacitance, so that the touch point can be determined by measuring the change in capacitance.
In the embodiment of the invention, if the touch point of the drag operation is monitored to move or the movement of the target own unit to be selected is monitored to meet the first specified condition, the combat gain can be displayed in the specified range of the own combat unit according to the gain relation between the target own unit to be selected and the own combat unit.
In a game, each combat unit has its corresponding combat value, i.e. blood volume, aggression, shield, etc., which can be presented to the player in a graphical user interface. Different units to be selected and units to be selected have corresponding gain relations, for example, the magic card can improve the fight capacity (improving blood volume or improving offensiveness) of the units to be fighted, and the trap card can reduce the fight capacity (reducing blood volume or reducing offensiveness) of the units to be fighted. The gain relation is acquired correspondingly based on game rules set in the game.
After the gain relation is determined, the combat gain of the target own candidate unit acting on the own combat unit can be calculated according to the gain relation, and the combat gain is displayed in the appointed range of the own combat unit.
In the case where the combat gain is a change in the combat value, specifically, assuming that the blood volume of the own combat unit is "9", if the target own candidate unit selected by the player is a magic card, the blood volume of the own combat unit may be added with "4", the combat gain is displayed next to the blood volume position of the own combat unit as "13". In another embodiment, the combat gain may also be displayed as just the increased blood volume "4" of the magic card as the own combat unit, as the invention is not limited in this regard.
According to the embodiment of the invention, the player can rapidly analyze whether the target own unit to be selected is added into the battle by displaying the battle gain after the target own unit to be selected is used for the player, so that the game experience of the player is improved.
The embodiment of the invention can only consider the effect of the target own candidate unit on own combat units when calculating the combat gain, but can not combine other combat units in the combat area, such as enemy combat units to calculate the combat gain, firstly, the calculated combat gain is not necessarily accurate in consideration of too many factors influencing the combat gain; and secondly, the strategy of the card game is hoped to be kept, and the card game is not completely processed in a fool manner.
For example, suppose there are a. Own combat units; b. the special card of the own combat unit (the special card can bring the gains of attack value or blood volume value and the like to the own combat unit, namely the target own candidate unit), and when b is dragged out and is about to be used, the b acts on the combat gain after a and is presented beside the attack and blood volume position of a.
Preferably, in consideration of the fact that the combat value may include various types such as blood volume, shields, attacks, etc., the combat gain may be displayed beside each combat value of the own combat unit accordingly, so that it is clear at a glance that the player can know the change condition of the combat value after the target own candidate unit acts on the own combat unit.
In the embodiment of the invention, the target own unit to be selected is determined in response to the selection operation of the own unit to be selected in the area to be selected, then the target own unit to be selected is moved in response to the dragging operation of the target own unit to be selected, and then the touch point of the dragging operation is moved in response to the movement of the target own unit to be selected, or the movement of the target own unit to be selected meets the first specified condition, and the combat gain is displayed in the specified range of the own unit according to the gain relation between the target own unit to be selected and the own unit.
Referring to fig. 3, a flowchart illustrating steps of another embodiment of a method of in-game combat control of the present invention is shown by 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, the graphical user interface including a combat zone and a candidate zone, the combat zone including a host combat unit and the candidate zone including at least one host candidate unit.
The fight control method in the game specifically comprises the following steps:
in step 201, in response to a selection operation of the own unit to be selected in the candidate region, a target own unit to be selected is determined.
Step 202, determining a dragging track in response to a 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 can select a target own unit to be selected from the area to be selected by a pressing operation, and move the target own unit to be selected by determining a drag trajectory based on a drag operation in the graphical user interface. For example, the mobile station can move to a combat zone or can move back to a candidate zone, and of course, the mobile station can also move back and forth between the combat zone and the candidate zone.
Step 203, responding to the movement of the touch point of the drag operation or the movement of the target own unit to be selected to meet a first specified condition, and displaying the combat gain in the specified range of the own combat unit according to the gain relation between the target own unit to be selected and the own combat unit.
In the embodiment of the invention, in the process of moving the target own unit to be selected, the dragging linear distance of the dragging track is calculated, wherein the dragging linear distance refers to the distance between the starting point position when a player presses the target own unit to be selected in the area to be selected and the current position of the target own unit to be selected after movement, and the dragging linear 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 value or not is judged, if the dragging linear distance reaches the preset value, the first specified condition can be considered to be met, and the combat gain can be calculated according to the gain relation between the target own unit to be selected and the own combat unit.
Of course, in practice, when the touch point of the target own candidate unit is monitored to move, the combat gain may also be calculated according to the gain relationship between the target own candidate unit and the own combat unit, which is not limited by the embodiment of the present invention.
In a preferred embodiment, the step 203 may include: determining the gain relation between the target own candidate unit and own combat unit; acquiring a own combat value of the own combat unit; calculating the combat gain provided by the target own candidate unit for the own combat unit according to the gain relation and the own combat value; the combat gain is displayed within a specified range of the own combat unit.
After the gain relation between the target own candidate unit and the own combat unit is determined, the combat gain can be calculated by combining the combat numerical value of the own combat unit. After calculating the battle gain, the battle gain can be displayed beside the corresponding battle value of the own battle unit in the battle area.
For example, assuming that the target own candidate unit is a magic card with an attribute, the fight value, i.e. the fight gain, after the card acts on the own fight unit, the own fight unit adds a shield, adds an attack or adds blood volume, etc. can be calculated accordingly.
And step 204, responding to the movement of the touch point of the dragging operation or the movement of the target own candidate unit to meet a second specified condition, and controlling the own combat unit to combat according to the combat gain.
After the combat gain is displayed, whether the target own candidate unit performs combat can be controlled, so that the own combat unit performs combat according to the combat gain.
The embodiment of the invention can control the target own candidate unit to fight when the movement of the touch point of the drag operation is monitored, for example, the touch point is moved to a designated position, or the movement of the touch point is monitored.
In addition, if the movement of the target own candidate unit satisfies the second specified condition, such as the target own candidate unit being dragged to the combat area, the target own candidate unit may also be controlled to combat.
Preferably, in order to make the combat gain more intuitive, the embodiment of the present invention may provide corresponding visual identifications for gain effects brought by different combat gains, and the specific implementation manner is as follows in step 205 to step 207.
Step 205, determining a gain attribute of the combat gain;
step 206, determining the visual identification of the combat gain according to the gain attribute;
step 207, displaying the visual identification in the specified range of the own combat unit.
In the embodiment of the invention, the combat gain can be provided with different projections according to the gain attribute during display, namely different visual identifications are provided, and visual hierarchy distinction 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 battle gain and the battle value of the own battle unit (abbreviated as the battle value of the second party herein), for example, when the battle gain is greater than the battle value of the second party, the gain is provided with the first visual identifier; and providing a second visual identification for the battle gain when the battle gain is less than the second party battle value.
In an embodiment of the present invention, the visual identifier may be provided according to a gain attribute, and in a preferred example, the visual identifier may be a color, for example, if the visual identifier is a positive gain, it is displayed as green, if the visual identifier is a negative gain, it is displayed as red, if the visual identifier is an attribute, that is, if the visual identifier is a battle gain and a battle value of the second party are the same, it is indicated that the target own candidate unit has no influence on the own battle unit, and the visual identifier may be kept the same color as the battle value of the second party, or the battle gain may not be displayed directly.
Of course, in practical applications, the visual identifier is not limited to the above-mentioned green or red, but may be other colors, and the embodiment of the present invention does not need to be limited thereto, and besides, the visual identifier may also use other manners, such as amplification, 3D, red-adding, and so on, besides different colors, so long as the distinction and relationship between the positive gain and the negative gain can be presented, which is also not limited thereto.
Referring to fig. 4, a schematic diagram of a battle gain display of the present invention is shown, beside the previous battle values (1, 3, 6) of the present battle units, the battle result values (6, 0, 2) after the target battle units are correspondingly displayed, in addition, in order to better distinguish the battle result values from the battle values on the field, different visual identifications, such as different colors, can be further provided for the battle result values.
According to the embodiment of the invention, by providing different visual identifications, a player can judge the gain effect brought by the target own unit to be selected according to the visual identifications such as color and the like, and even the player can make a decision on whether to control the target own unit to be selected to fight or not without carefully looking at specific values, so that the fight efficiency of the player is improved, and the game experience of the player is improved.
In an embodiment of the present invention, the method may further include: clearing the combat gain displayed within the specified range of the own combat unit.
After the combat gain is displayed, the player can control the target own candidate unit to enter combat through dragging operation or drag the target own candidate unit back to the candidate area, and at the moment, the combat gain displayed beside the own combat unit can be cleared.
By the embodiment of the invention, the combat gain can be previewed in advance before the player performs combat in the unit to be selected on the own side of the control target, so that the player can reduce the memory and the calculated amount.
In order to better understand the embodiments of the present invention, a specific example will be described below, referring to a process diagram of a battle gain display shown in fig. 5, in which a battle unit of the enemy and a battle unit of the own in the battle area and a unit of the own in the candidate area are shown in the left side of fig. 5, wherein the middle card is a unit of own battle, and when a player selects a unit of own target from the candidate area, the unit of own target is put into an activated state and is in an enlarged state, particularly as shown in the position of the finger of the player on the right side of fig. 5, at this time, the battle gains (3, 7) of the unit of own target to be selected for the unit of own are calculated and displayed next to the battle values (1, 6) of the unit of own.
By applying the embodiment of the invention, the player can preview the combat gain of the target own candidate unit after acting on the own combat unit in advance, thereby reducing the memory and the calculated 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 shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 6, there is shown a block diagram of an embodiment of a combat control device in a game of the present invention, by 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, the graphical user interface including a combat zone and a candidate zone, the combat zone including a combat unit and the candidate zone including at least one candidate unit, the device may specifically include the following modules:
a target own unit to be selected determining module 301, configured to determine a target own unit to be selected in response to a selection operation of an own unit to be selected in the area to be selected;
a target own unit to be selected moving module 302, configured to move the target own unit to be selected in response to a drag operation on the target own unit to be selected;
and a combat gain display module 303, configured to display a combat gain in a specified range of the own combat unit according to a gain relationship between the target own candidate unit and the own combat unit in response to movement of the touch point of the drag operation or movement of the target own candidate unit satisfying a first specified condition.
In a preferred embodiment of the invention, the device further comprises:
and the combat control module is used for 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 combat unit to combat according to the combat gain.
In a preferred embodiment of the present invention, the target own candidate unit movement module 302 includes:
the dragging track determining submodule is used for responding to the dragging operation of the unit to be selected on the own side of the target 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 own combat units;
the combat value obtaining submodule is used for obtaining the own combat value of the own combat unit;
the combat gain calculation sub-module is used for calculating the combat gain provided by the target own unit to be selected for the own combat unit according to the gain relation and the own combat value;
and the display sub-module is used for displaying the combat gain in the appointed range of the own combat unit.
In a preferred embodiment of the invention, the device further comprises:
the gain attribute determining module is used for determining the gain attribute of the combat gain; the gain attribute includes a positive gain and a negative gain;
the visual identification determining module is used for determining the visual identification of the combat gain according to the gain attribute;
and the visual identification display module is used for displaying the visual identification in the appointed range of the own combat unit.
In a preferred embodiment of the invention, the device further comprises:
and the combat gain clearing module is used for clearing and displaying the combat gain in the appointed range of the own combat unit.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the invention also provides electronic equipment, 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 the steps of the methods described by the embodiments of the present invention.
Embodiments of the present invention also provide a computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the steps of the methods described in the embodiments of the present invention.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The above description of a method and an apparatus for controlling combat in a game provided by the present invention has been provided in detail, and specific examples are applied to illustrate the principles and embodiments of the present invention, and the above examples are only for helping to understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (8)

1. A combat control method in a game, applied to a card game, by 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, the graphical user interface including a combat zone and a candidate zone, the combat zone including a host combat unit and the candidate zone including at least one host candidate unit, the method comprising:
determining a target own unit to be selected in response to a selection operation of the own unit to be selected in the area to be selected;
moving the target own unit to be selected in response to a drag operation on the target own unit to be selected;
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 the combat gain in a specified range of the own combat unit according to the gain relation between the target own unit to be selected and the own combat unit;
the method further comprises the steps of:
and responding to the movement of the touch point of the dragging operation or the movement of the target own candidate unit to meet a second specified condition, and controlling the own combat unit to combat according to the combat gain.
2. The method of claim 1, wherein the step of moving the target own candidate unit in response to a drag operation on the target own candidate unit comprises:
determining a dragging track in response to a dragging operation of the target own unit to be selected;
and moving the target own unit to be selected according to the dragging track.
3. The method of claim 1, wherein the step of displaying the battle gain within a specified range of the own battle unit according to the gain relationship of the target own candidate unit and own battle unit comprises:
determining the gain relation between the target own candidate unit and own combat unit;
acquiring a own combat value of the own combat unit;
calculating the combat gain provided by the target own candidate unit for the own combat unit according to the gain relation and the own combat value;
the combat gain is displayed within a specified range of the own combat unit.
4. A method according to claim 3, characterized in that the method further comprises:
determining a gain attribute of the combat gain; the gain attribute includes a positive gain and a negative gain;
determining a visual identification of the combat gain according to the gain attribute;
the visual identification is displayed within a specified range of the own combat unit.
5. The method according to claim 1, wherein the method further comprises:
clearing the combat gain displayed within the specified range of the own combat unit.
6. A combat control device in a game, for use in a card game, for rendering a graphical user interface on a display screen of an electronic device by executing a software application on a processor of the electronic device, the graphical user interface including a combat zone and a candidate zone, the combat zone including a host combat unit and the candidate zone including at least one host candidate unit, the device comprising:
the target own unit to be selected determining module is used for determining the target own unit to be selected in response to the selection operation of the own unit to be selected in the area to be selected;
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;
the combat gain display module is used for 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 combat gain in 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 combat;
the apparatus further comprises:
and the combat control module is used for 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 combat unit to combat according to the combat gain.
7. 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 any of claims 1-5.
8. A computer-readable storage medium having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the steps of the method of any of claims 1-5.
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 CN110665231A (en) 2020-01-10
CN110665231B true 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)

Families Citing this family (1)

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

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5192596B1 (en) * 2012-06-15 2013-05-08 株式会社 ディー・エヌ・エー Game providing device

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN110665231A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
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
CN110270086B (en) Method and device for controlling movement of virtual character in game
CN111084980B (en) Method and device for purchasing virtual article
US10702774B2 (en) Information processing method, apparatus, electronic device and storage medium
US20240123331A1 (en) Method and electronic device for processing game signal
CN109663345B (en) Information processing method and device for 3D game
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
CN110339556B (en) Display control method and device in game
JP2023552772A (en) Virtual item switching method, device, terminal and computer program
CN109107153B (en) Method and device for releasing game skill, electronic equipment and storage medium
CN111330260A (en) Method and device for controlling props in game, electronic equipment and storage medium
US20230241499A1 (en) Position adjustment method and apparatus for operation control, terminal, and storage medium
CN109432775A (en) A kind of multi-screen display method and device of map
JP2018051222A (en) Program, control method, and information processing device
CN110665231B (en) Combat control method and device in game
CN108491144B (en) Control method and device for game skill release direction, processor and terminal
CN112619124A (en) Control method and device for game object movement and electronic equipment
CN111265849B (en) Interaction method and device for virtual cards
CN108635850B (en) Information processing method, device and storage medium
CN106484235B (en) A kind of self-defined method and apparatus that game operation interface is set
CN107688426A (en) The method and apparatus for choosing target object
CN110639202B (en) Display control method and device in card game
CN108762568B (en) Broken line repairing method and device for touch screen and household appliance

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