CN115068954A - Interaction method, interaction device, computer equipment and storage medium - Google Patents
Interaction method, interaction device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115068954A CN115068954A CN202210753123.7A CN202210753123A CN115068954A CN 115068954 A CN115068954 A CN 115068954A CN 202210753123 A CN202210753123 A CN 202210753123A CN 115068954 A CN115068954 A CN 115068954A
- Authority
- CN
- China
- Prior art keywords
- card
- skill
- cards
- selection area
- target
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 230000003993 interaction Effects 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims abstract description 38
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 10
- 230000002452 interceptive effect Effects 0.000 claims description 25
- 230000000694 effects Effects 0.000 claims description 21
- 230000006870 function Effects 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 11
- 230000008859 change Effects 0.000 claims description 10
- 230000015572 biosynthetic process Effects 0.000 claims description 8
- 238000003786 synthesis reaction Methods 0.000 claims description 3
- 230000001965 increasing effect Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 13
- 238000003825 pressing Methods 0.000 description 8
- 230000009471 action Effects 0.000 description 7
- 238000013459 approach Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 2
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001795 light effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
- A63F13/69—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/822—Strategy games; Role-playing games
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present disclosure provides an interaction method, an interaction apparatus, a computer device, and a storage medium, wherein the method includes: determining a movement termination position in response to a user's movement operation for a first card in the card selection area; if the movement termination position is matched with the position of the second card and the corresponding skill types of the first card and the second card are the same, synthesizing the first card and the second card into a third card; the skill attribute of the third card is related to the skill attributes of the first card and the second card; after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card. According to the embodiment of the disclosure, the first card and the second card can be combined into the third card, and the corresponding skill of the newly combined third card can be different from the corresponding skill of the existing card, so that the diversity of the skills is increased, and further more interaction strategies are provided for the user.
Description
Technical Field
The disclosure relates to the technical field of games, and in particular, to an interaction method, an interaction device, computer equipment, and a storage medium.
Background
With the popularization of mobile terminal devices, card-type online games are becoming a common game. In a match-up type card game, the skill corresponding to the card may be released by triggering the card.
Generally, cards corresponding to respective skills may be dealt in each round of a battle card game, and a user selects cards from the dealt cards so that the corresponding skills may be selected. In the interaction process, the card and the corresponding skills of the card are limited, so that the controllable interaction strategy of the user is limited, and the interaction mode is limited.
Disclosure of Invention
The embodiment of the disclosure at least provides an interaction method, an interaction device, computer equipment and a storage medium.
In a first aspect, the disclosed embodiments provide an interaction method for performing an interaction operation on a card for skill release on an interaction interface; a plurality of cards are distributed in a card selection area of the interactive interface; the cards correspond to different skills; the method comprises the following steps:
determining a movement termination position in response to a user's movement operation for a first card in the card selection area;
if the movement termination position is matched with the position of a second card, and the skill types corresponding to the first card and the second card are the same, synthesizing the first card and the second card into a third card; the skill attribute of the third card is related to the skill attributes of the first card and the second card;
after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card.
In an optional embodiment, after determining the movement termination position in response to a user's movement operation for a first card in the card selection area, the method further comprises:
and if the movement termination position is matched with the position of a second card and the skill types corresponding to the first card and the second card are different, inserting the first card into the position adjacent to the second card.
In an alternative embodiment, after any card in the card selection area is selected for use, the controlling the corresponding virtual character to release the skill corresponding to the card includes:
and in response to any card in the card selection area being moved to the position of the target virtual character in the fighting area, taking the skill corresponding to the card as a target skill, and controlling the target virtual character to release the target skill.
In an optional embodiment, the controlling, in response to any card in the card selection area being moved to a position where a target virtual character is located in a battle area, a skill corresponding to the any card as a target skill to release the target skill by the target virtual character includes:
responding to the situation that any card in the card selection area is moved to the position of the virtual character to be selected in the fighting area, and judging whether the skill types corresponding to the virtual character to be selected and the card are matched or not;
and if so, taking the virtual role to be selected as a target virtual role, and controlling the target virtual role to release the target skill.
In an optional embodiment, the method further comprises:
after any card is moved to the fighting area, determining a target virtual character matched with the skill type corresponding to the card;
adding a prompt special effect for the target virtual character, wherein the prompt special effect is used for prompting a user to move any card to the position of the target virtual character.
In an alternative embodiment, said combining said first card and said second card into a third card comprises:
determining a skill level of the combined at least one third card based on the skill levels of the first card and the second card; in the at least one third card, a skill level of the target third card is greater than the respective skill levels of the first card and the second card.
In an optional embodiment, the method further comprises:
responding to the condition change of at least one card in the card selection area to meet a preset condition, and distributing expansion cards corresponding to the preset condition to the user;
the expansion cards comprise cards corresponding to target skills and/or cards corresponding to target functions; the target skill is a different skill than a card correspondence in the card selection area.
In an optional embodiment, in a case that the expansion card includes a card corresponding to a target skill, the controlling, after any card in the card selection area is selected for use, a corresponding virtual character to release the skill corresponding to the any card includes:
after any expansion card in the card selection area is selected to be used, judging whether the current residual energy is larger than the energy required to be consumed when the expansion card is released;
and if so, controlling the corresponding virtual role to release the skill corresponding to the expansion card, and updating the current residual energy based on the energy required to be consumed when the expansion card is released.
In an optional embodiment, different camps are displayed in the interactive interface; the method further comprises the following steps:
responding to the card use times of the prior card use in the current round to reach the preset times, and displaying prompt information for indicating that the later card use is started in the card array;
ending the current round in response to the number of card uses within the current round of the queueing of the later use cards reaching the preset number.
In an optional embodiment, the method further comprises:
in response to the first number of remaining cards in the card selection area being less than a preset number, in the presence of a non-dealt card, determining a third number of cards to be subsidized based on the first number, the second number of non-dealt cards, and the preset number, and adding the third number of cards to be subsidized to the card selection area.
In a second aspect, an embodiment of the present disclosure further provides an interaction apparatus, including:
a first determination module for determining a movement termination position in response to a user's movement operation for a first card in the card selection area;
the synthesis module is used for synthesizing the first card and the second card into a third card if the movement termination position is matched with the position of the second card and the skill types corresponding to the first card and the second card are the same; the skill attribute of the third card is related to the skill attributes of the first card and the second card;
after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
According to the interaction method provided by the embodiment of the disclosure, after the first card in the card selection area is moved, the movement termination position of the first card is matched with the position of the second card, and the first card and the second card can be combined into the third card under the condition that the skill types corresponding to the first card and the second card are the same. In the process, new cards except the existing cards can be obtained by combining the existing cards in the card selection area; the skills corresponding to the newly synthesized cards can be different from the skills corresponding to the existing cards, so that the diversity of the skills is increased, more interaction strategies can be provided for users, and the interaction modes are enriched.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
FIG. 1 is a diagram illustrating an effect of an interactive interface provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an interaction method provided by an embodiment of the present disclosure;
FIG. 3 illustrates an effect diagram of another interactive interface provided by an embodiment of the present disclosure;
FIG. 4 is a diagram illustrating an effect of another interface provided by an embodiment of the present disclosure;
FIG. 5 is a diagram illustrating an effect of another interface provided by an embodiment of the present disclosure;
FIG. 6 is a diagram illustrating an effect of another interface provided by an embodiment of the present disclosure;
FIG. 7 is a diagram illustrating an effect of another interface provided by an embodiment of the present disclosure;
FIG. 8 illustrates an effect diagram of yet another interactive interface provided by an embodiment of the present disclosure;
FIG. 9 is a schematic diagram of an interaction device provided by an embodiment of the present disclosure;
fig. 10 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
Generally, cards corresponding to respective skills may be dealt in each round of a battle card game, and a user selects cards from the dealt cards so that the corresponding skills may be selected. In the game process, as the cards and the corresponding skills thereof are limited, the controllable interaction strategy of the user is limited, so that the interaction mode is limited.
Based on the above, the present disclosure provides an interaction method, where after a moving operation is performed on a first card in a card selection area, a movement termination position of the first card is matched with a position of a second card, and the first card and the second card correspond to the same skill type, the first card and the second card may be combined into a third card. In the process, new cards except the existing cards can be obtained by combining the existing cards in the card selection area; the skills corresponding to the newly synthesized cards can be different from the skills corresponding to the existing cards, so that the diversity of the skills is increased, more interaction strategies can be provided for users, and the interaction modes are enriched.
The defects of the above solutions and the solutions proposed are the results of the inventor after practice and careful study, so the discovery process of the above problems and the solutions proposed by the present disclosure in the following problems should be the contribution of the inventor to the present disclosure in the process of the present disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
For the convenience of understanding of the present embodiment, first, an interaction method disclosed in the embodiments of the present disclosure is described in detail, and an execution subject of the interaction method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability.
The interaction method provided by the embodiment of the disclosure is mainly used for executing interaction operation on the card released by skill on the interaction interface. The interactive interface may refer to a game interface in a target application or a target web page. A plurality of cards are arranged in a card selection area of the interactive interface; multiple cards correspond to different skills.
In the effect diagram of an interactive interface shown in fig. 1, a battle detail display area, a battle area and a card selection area may be included in the interactive interface. The battle detail display area is located in the top area of the interactive interface, the battle area is located in the middle area of the interactive interface, and the card selection area is located in the bottom area of the interactive interface. The information such as the number of the remaining actions of the enemy, the number of the money of the owner, the number of the treasure boxes of the owner and the like and a pause button for controlling the pause of the fighting process are displayed in the fighting detail display area. The virtual character of an enemy and the virtual character of the party are shown in the battle area. The top position of each virtual character shows attribute information of the virtual character, such as the grade, blood bar, energy bar and the like. A plurality of cards with the same attribute information such as size and shape are displayed in the card selection area. A plurality of cards are arranged in the card selection area from left to right in sequence in a bottom aligning mode and according to a preset interval. The arrangement sequence among the cards can be preset. In other embodiments, multiple cards may also be presented in a bottom arc in the card selection area. In fig. 1, a number of preset icons is also displayed at the bottom of the interactive interface, and the number of the preset icons is used for representing the remaining number of actions of the user. When the battle is started, a preset number of preset icons for representing the maximum action times of the party can be displayed. Several preset icons for indicating the remaining number of actions may be shown in a highlighted form, and a preset icon for indicating the number of actions that have been exhausted may be represented by a rectangular wire frame.
The interactive operation of the card by the user may include a moving operation (the process of the moving operation performed by the user on the card will be described in detail later), a card detail checking operation, and the like.
In a specific implementation, when a user performs an operation of checking card details on any card in the card selection area, the card details of any card, such as the card type, the skill type corresponding to the card, the skill level, and other information, may be displayed at a preset position of any card.
In one approach, the view card details operation may include clicking on the card, pressing the card for more than a preset length of time, etc., such as pressing the card for more than 1 second. The card details of the first card may then disappear in response to a user ceasing to view the card details of any of the cards.
For example, card details may be presented in response to a user clicking on any card; and card details may disappear in response to the user clicking any other location. Or, in response to the fact that the time for pressing the card by the user exceeds the preset time, card details can be displayed; and the card details may disappear in response to the user ceasing to press the card. In addition, card details may also not appear in response to the user not pressing the card for more than a preset length of time.
The position of the first card may be unchanged when the card details viewing operation is performed.
The process of the user performing the move operation on the first card in the card selection area will be described below. Referring to fig. 2, a flowchart of an interaction method provided in the embodiment of the present disclosure is shown, where the method includes S201 to S202, where:
s201: the movement termination position is determined in response to a user's movement operation for a first card in the card selection area.
In the disclosed embodiment, the first card may be any card in the card selection area. In one approach, the movement operation may include a pressing operation as well as a dragging operation. In a specific implementation, the user may perform a pressing operation to hold the first card and then perform a dragging operation to drag the first card.
To alert the user of the first card currently being moved, the first card may exhibit an increasing effect, as shown in fig. 3, and the first card is always in an increasing state during the movement. At the beginning of the movement, the first card may move from the initial position, and the position of the first card may change as the movement progresses. The first card can move along with the dragging track of the user and can also move linearly from the initial position to the movement termination position. In a specific implementation, a position at which the drag operation is stopped may be taken as a movement termination position.
The movement operation for the first card may occur within the card selection area, i.e., the first card moves only within the card selection area, and the movement termination location of the first card is located within the card selection area; the movement operation for the first card may also move from within the card selection area to outside the card selection area, the movement termination location of the first card being outside the card selection area.
In embodiments of the present disclosure, a boundary line of the card selection area may be set, which may not be visible. If the horizontal center line of the first card does not exceed the upper boundary line of the card selection area when the dragging operation is stopped, the movement termination position of the first card can be considered to be located in the card selection area; if the horizontal center line of the first card exceeds the upper boundary line of the card selection area when the dragging operation is stopped, the movement termination position of the first card may be considered to be located outside the card selection area.
If the movement termination position of the first card is located within the card selection area, there may be a case where the movement termination position of the first card matches a position of a second card other than the first card in the card selection area; there may also be a case where the movement termination position of the first card does not match the position of the second card, which will be described in detail later. If the end of movement position of the first card is outside of the card selection area, such as the deal area, the skill corresponding to the first card may be released, as will be described in more detail below.
In the case where the movement termination position matches the position of the second card, and the skill types corresponding to the first card and the second card are the same, the following steps may be performed.
S202: if the movement termination position is matched with the position of the second card, and the skill types corresponding to the first card and the second card are the same, synthesizing the first card and the second card into a third card; the skill attribute of the third card is related to the skill attributes of the first card and the second card.
In one approach, the end of movement position of the first card matching the position of the second card may mean that the end of movement position of the first card is completely coincident with the position of the second card. In another mode, the movement ending position matching the position of the second card may also mean that the movement ending position is within a preset range corresponding to the second card. For example, a seam region boundary line may be set for two adjacent cards, where the seam region boundary line may not be visible. When the vertical center line of the first card moves to the boundary line of the seam region on any side of the second card, the movement termination position of the first card can be considered to be matched with the position of the second card.
In the process of synthesizing the first card and the second card into the third card, the skill attribute of the third card can be obtained by the skill attribute of the first card and the skill attribute of the second card according to a preset card combination rule. The skill attributes may include skill level, energy value, etc., among others.
For example, for any skill attribute, an attribute value greater than the second attribute value (or the second attribute value) may be used as the third attribute value of the third card under the skill attribute, where the first attribute value of the first card under the skill attribute is the same as the second attribute value of the second card under the skill attribute.
For any skill attribute, in the case that the first attribute value of the first card under the skill attribute is different from the second attribute value of the second card under the skill attribute, the first attribute value of the first card under the skill attribute and the second attribute value of the second card under the skill attribute may be superimposed to obtain the third attribute value of the third card under the skill attribute. Or the first attribute value of the first card under the skill attribute and the second attribute value of the second card under the skill attribute can be superposed and then disassembled to obtain the third attribute value of the third card under the skill attribute. In this way, a plurality of third cards may be obtained, and the third attribute value of the obtained third card under the skill attribute is different from both the first attribute value of the first card under the skill attribute and the second attribute value of the second card under the skill attribute. In other ways, other preset card combination rules may be included, where the number of cards and skill attributes for card combination may not be specifically limited.
Where the skill attributes include skill levels, in one embodiment, in the combining of the first card and the second card into a third card, the skill level of the combined at least one third card may be determined based on the skill levels of the first card and the second card. Wherein, in the at least one third card, the skill level of the target third card is greater than the respective skill levels of the first card and the second card.
For example, for cards with the same skill type and skill levels including 1 star, 2 stars and 3 stars, in the case that the first card and the second card are both 1-star cards, the first card and the second card may be combined into a third card of 2 stars; in the case that the first card and the second card are both 2-star cards, the first card and the second card can be combined into a third card of 3 stars; when the first card is a 1-star card and the second card is a 2-star card (or the first card is a 2-star card and the second card is a 1-star card), the first card and the second card can be combined into a third card of 3 stars; in the case where the first card and the second card are both 2-star cards, the first card and the second card may be combined into a third card of 3-star or 1-star.
In specific implementation, card correspondence capable of participating in card combination can be set, for example, cards of 1 star and 2 stars can participate in card combination, and cards of 3 stars cannot continue to combine cards. In other embodiments, the cards may be dealt without specific limitation.
After the first card and the second card are combined into a third card, the first card and the second card used for combining the third card can be removed, that is, only the determined third card is displayed in the card selection area; the first card, the second card and the third card may also be retained simultaneously.
In the above, when the movement termination position of the first card matches the position of the second card, there may be a case where the skill types corresponding to the first card and the second card are different. In one embodiment, after determining the movement termination position in response to the user's movement operation for the first card in the card selection area, the method further includes: and if the movement termination position is matched with the position of the second card and the corresponding skill types of the first card and the second card are different, inserting the first card into the adjacent position of the second card.
Here, the adjacent position where the first card is inserted into the second card may be a left adjacent position where the first card is inserted into the second card, or a right adjacent position.
In the disclosed embodiment, when the first card is inserted into the adjacent position of the second card, the card insertion effect can be presented. Specifically, as shown in fig. 4, the area at the original position of the first card becomes large, and a virtual image of the first card may be displayed at the original position of the first card; the area between the second card and other cards adjacent to the second card becomes larger and a bright light effect is presented in the area to indicate to the user to insert the first card at the value emitting position. During insertion, the top right corner of the second card presses against the bottom left corner of the first card. As the insertion process continues, the area in which the first card is compressed increases until the first card is fully inserted adjacent to the second card. And finally, the first card and other cards in the card selection area are sequentially arranged in the card selection area from left to right in a bottom alignment mode according to a preset interval. In addition, the number of preset icons displayed in the interactive interface for indicating the remaining number of actions is reduced.
In the above, on the premise that the movement termination position of the first card is located in the card selection area and the termination movement position of the first card is matched with the position of the second card, the two situations that the skill types of the first card and the second card are the same and different are respectively detailed. When the movement termination position of the first card does not match the position of the second card, the area at the original position of the first card becomes larger, and the ghost of the first card can be displayed at the original position. In response to the user stopping the pressing operation, the first card may return to the original position. And finally, the first card and other cards in the card selection area are still arranged in the card selection area in a bottom alignment mode from left to right according to a preset interval.
The process by which the first card movement occurs within the card selection area is described in detail above. The process of moving the first card from within the card selection area to outside the card selection area will be described in detail below. As described above, if the horizontal center line of the first card exceeds the upper boundary line of the card selection area when the moving operation is stopped, it can be considered that the movement termination position of the first card is located outside the card selection area. In particular implementations, the movement termination location of the first card may be located within the battle area; or may be located outside of both the card selection area and the battle area.
In the disclosed embodiment, a boundary line of the battle area may also be set, which may not be visible. If the movement operation is stopped, as shown in fig. 5, the horizontal center line of the first card exceeds the upper boundary line of the card selection area but does not exceed the lower boundary line of the match area, it can be considered that the movement termination position of the first card is located outside the card selection area and outside the match area; if the moving operation is stopped, as shown in fig. 6, the horizontal center line of the first card exceeds the lower boundary line of the card selection area, the movement termination position of the first card can be considered to be located within the opponent's battle area.
In the case that the movement termination position of the first card is located outside both the card selection area and the match area, the area at the original position of the first card is enlarged, and the virtual image of the first card can be displayed at the original position. The first card may return to the original position in response to the user ceasing to press the first card. And finally, the first card and other cards in the card selection area are still arranged in the card selection area in a bottom alignment mode from left to right according to a preset interval.
For the case that the movement termination position of the first card is located in the battle area, the virtual character may be controlled to release the target skill corresponding to the first card when the skill type corresponding to the first card matches the selected virtual character. And a target avatar matching the skill type corresponding to the first card may be determined if the skill type corresponding to the first card does not match the selected avatar.
In a specific implementation, the processes of moving the first card and the third card obtained by combining the first card into the battle area and using the third card are the same, so in one implementation, after any card in the card selection area is selected for use, the process of controlling the corresponding virtual character to release the skill corresponding to any card may include: and in response to any card in the card selection area being moved to the position of the target virtual character in the fighting area, taking the skill corresponding to any card as the target skill, and controlling the target virtual character to release the target skill.
Here, any card may refer to the first card or the third card resulting from the combination. In the embodiment of the present disclosure, as shown in fig. 6, when the horizontal center line and the vertical center line of any card are located in the location area where the target virtual character is located, it may be considered that the card is moved to the location where the target virtual character is located in the battle area.
The target avatar may refer to an avatar that matches the skill type of any card. For example, the target avatar may be the avatar used by my party at the time he releases the skill (the skill type of the card is the card used by my party). As another example, the skill type of the card is an attack skill, and the target avatar may be an attack type avatar.
In one embodiment, whether the skill types corresponding to the virtual character to be selected and any card are matched or not can be judged in response to the fact that any card in the card selection area is moved to the position where the virtual character to be selected is located in the fighting area. The virtual role to be selected may be a virtual role selected by a user.
If the virtual roles are matched with the target virtual roles, the virtual roles selected by the user are correct virtual roles, the virtual roles to be selected are used as the target virtual roles, and the target virtual roles are controlled to release target skills.
When the virtual character to be selected is matched with the skill type corresponding to any card, a prompt special effect (for example, a light-emitting special effect) can be added to the virtual character to be selected, and the user can be prompted that the virtual character to be selected is a target virtual character of the target skill to be released.
If not, the virtual character selected by the user is not the virtual character corresponding to any card. In one embodiment, a target avatar may be determined that matches a skill type corresponding to any card. And then adding a prompt special effect for the target virtual character. The prompt special effect is used for prompting a user to move any card to the position of the target virtual character. Here, the special effect of the prompt added for the determined target virtual character may be the same as or different from the special effect of the prompt added for the user to select the correct target virtual character, and is not limited specifically here.
In addition, in the case where the virtual character to be selected does not match the skill type corresponding to any card, the card may be returned to the original position in response to the stop pressing operation by the user. And when the virtual character to be selected is matched with the skill type corresponding to any card, the number of preset icons which are displayed in the interactive interface and used for indicating the number of the remaining actions is reduced, and the remaining cards in the card selection area are sequentially arranged in the card selection area from left to right in a bottom alignment mode according to a preset interval.
In the embodiment of the present disclosure, in addition to the card being dealt in the card selection area at the start of the game, an expansion card corresponding to a preset condition may be allocated to the user in response to a state change of at least one card in the card selection area satisfying the preset condition. The expansion cards comprise cards corresponding to the target skills and/or cards corresponding to the target functions; the target skill is a different skill than the card correspondence in the card selection area.
Here, the state change of the card may include a release skill, a card combination, only moving a card without combining (hereinafter, card moving), and the like.
In one embodiment, when the expansion cards are cards of a target skill, a resource, such as energy, for acquiring the expansion cards corresponding to the cards may be generated in response to at least one card in the card selection area being released, closed or shifted; and distributing expansion cards corresponding to the preset number of resources for the user. For example, each time a skill is released, closed, or shifted, a tally may be generated, which may be represented by a skill point, which may be shown at a preset location of the virtual character, as shown in fig. 8. And then allocating expansion cards corresponding to a preset number of skill points for the user. The assigned expansion cards can be for each virtual character, and can also be for preset virtual characters.
In one embodiment, when the expansion card is a card of the target function, the user may be assigned a card of the target function corresponding to the state change in response to a release skill, a merge, or a shift of at least one card in the card selection area. For example, the expansion cards may be role function cards, and the state change of the cards may include releasing skills, closing cards, or moving cards. When the cards are combined and the combined cards are 2-star cards or 3-star cards, the same role function cards can be obtained. Or when the synthesized card is a 2-star card, the role function card A can be obtained; when the synthesized card is a 3-star card, the role function card B can be obtained. And when the cards are moved or the skills are released, the role function cards corresponding to the preset virtual roles can be obtained.
In one embodiment, when the expansion cards are cards of the target public function, the cards of the target public function corresponding to the state change may be allocated to the user in response to a release skill, a merge of cards, or a shift of cards occurring at least one card in the card selection area. For example, the expansion cards may be role community cards, and the state change of the cards may include releasing skills, closing cards, or moving cards. When the cards are combined and the combined cards are 2-star cards or 3-star cards, the same role public function cards can be obtained. Or when the synthesized card is a 2-star card, the A-type role public function card can be obtained; when the synthesized card is a 3-star card, a type B character public function card can be obtained. And when the cards are moved or the skills are released, the role public function cards corresponding to the preset virtual roles can be obtained.
In the embodiment of the present disclosure, in a case where the expansion cards include cards corresponding to the target skill, after any expansion card in the card selection area is selected for use, energy corresponding to any expansion card may be consumed. In one embodiment, after any expansion card in the card selection area is selected for use, whether the current remaining energy is larger than the energy required to be consumed when the expansion card is released can be judged; and if so, controlling the corresponding virtual role to release the skill corresponding to the expansion card, and updating the current residual energy based on the energy required to be consumed when the expansion card is released.
After the current residual energy is updated, the expansion cards corresponding to the current residual energy can be redistributed to the users according to the updated current residual energy. Or updating the current residual energy according to the energy corresponding to the newly acquired expansion card.
In the disclosed embodiment, different camps are displayed in the interactive interface, such as my camps and enemy camps. After entering the battle, the formation of the prior card is determined according to the preset rule. In a specific implementation, as shown in fig. 7, a prompt (e.g., an enemy round) indicating that a card play using a card at a later time begins may be presented in response to the number of card uses within the current round of a card play using a previous card reaching a preset number. And ending the current round in response to the card use times in the current round of the formation of the later use cards reaching the preset times. Here, the card use number may include the number of skill releasing times and/or the number of card dealing times.
For any one battle, the virtual characters participating in battle in the battle may be sorted according to a preset card-playing rule, for example, the virtual characters may be sorted according to the sequence from high to low speed values thereof. And, when playing cards, the virtual characters participating in battle in the battle can be played in sequence according to the arrangement sequence. When a virtual character needs to play cards but does not have cards corresponding to the virtual character, the cards corresponding to the virtual character can be generated by card combination.
In the embodiment of the present disclosure, in response to the first number of remaining cards in the card selection area being less than the preset number, in the presence of the unsettled cards, a third number of cards to be additionally dealt is determined based on the first number, the second number of unsettled cards, and the preset number, and the third number of cards to be additionally dealt is added to the card selection area.
For example, a maximum of 10 cards may be displayed in the card selection area, and 10 cards with a skill level of 1 star may be dealt at the beginning of the battle. Then, each time the user consumes one card of 1 star, the user can automatically re-deal one card of 1 star in the card selection area until the number of cards which are not dealt is zero. In other embodiments, cards with different skill levels can be issued at the beginning of the battle, and then each time a card with any skill level is consumed by the user, a card with any skill level can be automatically re-dealt in the card selection area until the number of unsent cards is zero.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, an interaction device corresponding to the interaction method is also provided in the embodiments of the present disclosure, and since the principle of solving the problem of the device in the embodiments of the present disclosure is similar to the interaction method described above in the embodiments of the present disclosure, the implementation of the device may refer to the implementation of the method, and repeated details are not described.
Referring to fig. 9, there is shown a schematic architecture diagram of an interaction apparatus provided in an embodiment of the present disclosure, where the apparatus includes: a first determining module 901 and a synthesizing module 902; wherein,
a first determining module 901, configured to determine a movement termination position in response to a user's movement operation for a first card in the card selection area;
a synthesizing module 902, configured to synthesize the first card and the second card into a third card if the movement termination position matches a position of a second card and the skill types corresponding to the first card and the second card are the same; the skill attribute of the third card is related to the skill attributes of the first card and the second card;
after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card.
In an optional embodiment, after determining the movement termination position in response to a user's movement operation for a first card in the card selection area, the apparatus further comprises:
and the inserting module is used for inserting the first card into the position adjacent to the second card if the movement termination position is matched with the position of the second card and the skill types corresponding to the first card and the second card are different.
In an alternative embodiment, the apparatus further comprises:
and the control module is used for responding to the situation that any card in the card selection area is moved to the position of the target virtual character in the fighting area, taking the skill corresponding to the card as the target skill, and controlling the target virtual character to release the target skill.
In an optional implementation manner, the control module is specifically configured to:
responding to the situation that any card in the card selection area is moved to the position of the virtual character to be selected in the fighting area, and judging whether the skill types corresponding to the virtual character to be selected and the card are matched or not;
and if so, taking the virtual role to be selected as a target virtual role, and controlling the target virtual role to release the target skill.
In an alternative embodiment, the apparatus further comprises:
the second determination module is used for determining a target virtual character matched with the skill type corresponding to any card after the card is moved to the fighting area;
and the adding module is used for adding a prompt special effect for the target virtual character, wherein the prompt special effect is used for prompting a user to move any card to the position of the target virtual character.
In an alternative embodiment, the synthesis module 902 is specifically configured to:
determining a skill level of the combined at least one third card based on the skill levels of the first card and the second card; in the at least one third card, a skill level of a target third card is present that is greater than the respective skill levels of the first card and the second card.
In an alternative embodiment, the apparatus further comprises:
the distribution module is used for responding to the condition change of at least one card in the card selection area to meet a preset condition, and distributing expansion cards corresponding to the preset condition to the user; the expansion cards comprise cards corresponding to target skills and/or cards corresponding to target functions; the target skill is a different skill than a card correspondence in the card selection area.
In an optional implementation manner, the allocation module is specifically configured to:
after any expansion card in the card selection area is selected to be used, judging whether the current residual energy is larger than the energy required to be consumed when the expansion card is released;
and if so, controlling the corresponding virtual role to release the skill corresponding to the expansion card, and updating the current residual energy based on the energy required to be consumed when the expansion card is released.
In an optional embodiment, different camps are displayed in the interactive interface; the device further comprises:
the display module is used for responding to the situation that the number of times of using the cards in the current round reaches the preset number of times in the prior card-using formation, and displaying prompt information for indicating that the card starts to be used in the subsequent card-using formation;
and the ending module is used for responding to the card use times of the formation of the rear use cards in the current round reaching the preset times, and ending the current round.
In an alternative embodiment, the apparatus further comprises:
and the third determining module is used for responding to the situation that the first number of the remaining cards in the card selecting area is smaller than the preset number, determining the third number of the cards to be subjected to the card dealing in a supplementing way on the basis of the first number, the second number of the cards not to be subjected to the card dealing and the preset number under the condition that the cards not to be subjected to the card dealing exist, and adding the third number of the cards to be subjected to the card dealing in the card selecting area.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Based on the same technical concept, the embodiment of the disclosure also provides computer equipment. Referring to fig. 10, a schematic structural diagram of a computer device 1000 provided in the embodiment of the present disclosure includes a processor 1001, a memory 1002, and a bus 1003. The memory 1002 is used for storing execution instructions, and includes a memory 10021 and an external memory 10022; the memory 10021 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 1001 and the data exchanged with the external memory 10022 such as a hard disk, the processor 1001 exchanges data with the external memory 10022 through the memory 10021, and when the computer device 1000 operates, the processor 1001 and the memory 1002 communicate through the bus 1003, so that the processor 1001 executes the following instructions:
determining a movement termination position in response to a user's movement operation for a first card in the card selection area;
if the movement termination position is matched with the position of a second card, and the skill types corresponding to the first card and the second card are the same, synthesizing the first card and the second card into a third card; the skill attribute of the third card is related to the skill attributes of the first card and the second card;
after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the interaction method described in the above method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the interaction method in the foregoing method embodiments, which may be referred to specifically for the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present disclosure, which are essential or part of the technical solutions contributing to the prior art, may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used for illustrating the technical solutions of the present disclosure and not for limiting the same, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (13)
1. An interactive method is characterized in that the interactive method is used for performing interactive operation on cards for skill release on an interactive interface; a plurality of cards are distributed in a card selection area of the interactive interface; the cards correspond to different skills; the method comprises the following steps:
determining a movement termination position in response to a user's movement operation for a first card in the card selection area;
if the movement termination position is matched with the position of a second card, and the skill types corresponding to the first card and the second card are the same, synthesizing the first card and the second card into a third card; the skill attribute of the third card is related to the skill attributes of the first card and the second card;
after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card.
2. The method of claim 1, wherein after determining a movement termination location in response to a user movement operation for a first card in the card selection area, the method further comprises:
and if the movement termination position is matched with the position of a second card and the skill types corresponding to the first card and the second card are different, inserting the first card into the position adjacent to the second card.
3. The method of claim 1, wherein controlling the corresponding virtual character to release the skill corresponding to any card after the card in the card selection area is selected for use comprises:
and in response to any card in the card selection area being moved to the position of the target virtual character in the fighting area, taking the skill corresponding to the card as a target skill, and controlling the target virtual character to release the target skill.
4. The method according to claim 3, wherein the controlling of the target virtual character to release the target skill by taking a skill corresponding to any card as a target skill in response to any card in the card selection area being moved to a position of the target virtual character in the battle area comprises:
responding to the situation that any card in the card selection area is moved to the position of the virtual character to be selected in the fighting area, and judging whether the skill types corresponding to the virtual character to be selected and the card are matched or not;
and if so, taking the virtual role to be selected as a target virtual role, and controlling the target virtual role to release the target skill.
5. The method of claim 3, further comprising:
after any card is moved to the fighting area, determining a target virtual character matched with the skill type corresponding to the card;
adding a prompt special effect for the target virtual character, wherein the prompt special effect is used for prompting a user to move any card to the position of the target virtual character.
6. The method of claim 1, wherein said combining the first card and the second card into a third card comprises:
determining a skill level of the combined at least one third card based on the skill levels of the first card and the second card; in the at least one third card, a skill level of the target third card is greater than the respective skill levels of the first card and the second card.
7. The method of claim 1, further comprising:
responding to the condition change of at least one card in the card selection area to meet a preset condition, and distributing expansion cards corresponding to the preset condition to the user;
the expansion cards comprise cards corresponding to target skills and/or cards corresponding to target functions; the target skill is a different skill than a card correspondence in the card selection area.
8. The method according to claim 7, wherein in a case that the expansion card includes a card corresponding to a target skill, the controlling the corresponding virtual character to release the skill corresponding to any card after the any card in the card selection area is selected for use includes:
after any expansion card in the card selection area is selected to be used, judging whether the current residual energy is larger than the energy required to be consumed when the expansion card is released;
and if so, controlling the corresponding virtual role to release the skill corresponding to the expansion card, and updating the current residual energy based on the energy required to be consumed when the expansion card is released.
9. The method of claim 1, wherein different camps are displayed in the interactive interface; the method further comprises the following steps:
responding to the card use times of the prior card use in the current round to reach the preset times, and displaying prompt information for indicating that the later card use is started in the card array;
ending the current round in response to the number of card uses within the current round of the queueing of the later use cards reaching the preset number.
10. The method of claim 1, further comprising:
in response to the first number of remaining cards in the card selection area being less than a preset number, in the presence of a non-dealt card, determining a third number of cards to be subsidized based on the first number, the second number of non-dealt cards, and the preset number, and adding the third number of cards to be subsidized to the card selection area.
11. An interactive apparatus, comprising:
a first determination module for determining a movement termination position in response to a user's movement operation for a first card in the card selection area;
the synthesis module is used for synthesizing the first card and the second card into a third card if the movement termination position is matched with the position of the second card and the skill types corresponding to the first card and the second card are the same; the skill attribute of the third card is related to the skill attributes of the first card and the second card;
after any card in the card selection area is selected for use, the corresponding virtual character is controlled to release the skill corresponding to the card.
12. A computer device, comprising: processor, memory and bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the interaction method of any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the interaction method according to any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210753123.7A CN115068954A (en) | 2022-06-29 | 2022-06-29 | Interaction method, interaction device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210753123.7A CN115068954A (en) | 2022-06-29 | 2022-06-29 | Interaction method, interaction device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115068954A true CN115068954A (en) | 2022-09-20 |
Family
ID=83255056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210753123.7A Pending CN115068954A (en) | 2022-06-29 | 2022-06-29 | Interaction method, interaction device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115068954A (en) |
-
2022
- 2022-06-29 CN CN202210753123.7A patent/CN115068954A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111298449B (en) | Control method and device in game, computer equipment and storage medium | |
WO2023077994A1 (en) | Interaction control method and apparatus, computer device, and storage medium | |
EP2756873A2 (en) | Game system and gaming server device | |
US11810234B2 (en) | Method and apparatus for processing avatar usage data, device, and storage medium | |
WO2022257653A1 (en) | Virtual prop display method and apparatus, electronic device and storage medium | |
CN113144596B (en) | Chessboard picture display method and device, terminal equipment and storage medium | |
US11679329B2 (en) | Computer device configured to provide a computer implemented game for moving game entities from a game board area to an interaction area | |
CN110801629B (en) | Method, device, terminal and medium for displaying virtual object life value prompt graph | |
CN111905363A (en) | Virtual object control method, device, terminal and storage medium | |
CN111686449A (en) | Virtual object control method, device, terminal and storage medium | |
CN111973983A (en) | Game data transmission method and device, electronic equipment and storage medium | |
KR20060050812A (en) | Gaming machine and gaming system | |
CN111151004A (en) | Game unit deployment method and device, electronic equipment and storage medium | |
CN115068954A (en) | Interaction method, interaction device, computer equipment and storage medium | |
CN115708956A (en) | Game picture updating method and device, computer equipment and medium | |
US20240359100A1 (en) | Upgrade Interaction Method and Apparatus for Game Task, Medium, Device, and Program Product | |
JP6878551B2 (en) | Program, information processing device and control method of information processing device | |
WO2023231613A1 (en) | Upgrade interaction method and apparatus for game task, and medium, device and program product | |
WO2024104034A1 (en) | Special effect display method and apparatus, electronic device, and storage medium | |
KR20150009629A (en) | Apparatus and method of providing 3d depth effect on grpahic image of trade card game using gyro sensor | |
WO2024103990A1 (en) | Store upgrading method and apparatus for turn-based chess game, and device and medium | |
WO2023231557A9 (en) | Interaction method for virtual objects, apparatus for virtual objects, and device, storage medium and program product | |
US20230059767A1 (en) | Program, terminal, server, and game system | |
CN115714875A (en) | Interaction method, device, storage medium, equipment and program product | |
JP2007098105A (en) | Game system and game server used therefor |
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 |