WO2023197788A1 - Interaction method and apparatus, computer device, and readable storage medium - Google Patents

Interaction method and apparatus, computer device, and readable storage medium Download PDF

Info

Publication number
WO2023197788A1
WO2023197788A1 PCT/CN2023/080385 CN2023080385W WO2023197788A1 WO 2023197788 A1 WO2023197788 A1 WO 2023197788A1 CN 2023080385 W CN2023080385 W CN 2023080385W WO 2023197788 A1 WO2023197788 A1 WO 2023197788A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
type
target
cards
virtual character
Prior art date
Application number
PCT/CN2023/080385
Other languages
French (fr)
Chinese (zh)
Inventor
曲昕南
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023197788A1 publication Critical patent/WO2023197788A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • A63F13/426Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present disclosure relates to the technical field of game development, and specifically to an interactive method, device, computer equipment and readable storage medium.
  • N cards are usually displayed to the user.
  • the user can drag the card to the position of the virtual character of the enemy camp to trigger the skills corresponding to the card to attack the virtual character of the enemy camp.
  • Embodiments of the present disclosure provide at least an interaction method, device, computer equipment, and readable storage medium.
  • embodiments of the present disclosure provide an interaction method, which includes:
  • first type cards or second type cards in the second area of the graphical user interface; the first type cards and the second type cards are used to control virtual characters to release different types of skills;
  • a card switching button is also displayed in the graphical user interface, and in response to the card switching button being in the first state, the first type of card is displayed in the second area;
  • the card switching button In response to the triggering operation of the card switching button, the card switching button is switched to a second state, and the first type of cards displayed in the second area is switched to display the second type of cards. .
  • the method further includes:
  • the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the target virtual resources that need to be consumed to use the corresponding second type of card. consumption; displaying the preset attribute information associated with the first type of card and/or the second type of card on the character identification further includes:
  • the target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  • the preset attribute information also includes first usage status information; the method further includes:
  • For each second type card determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
  • the attribute information also includes:
  • the target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  • the method further includes:
  • the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card.
  • the target first virtual character corresponding to the target character identification is released and the first type of card and/or The skills corresponding to the second type of cards include:
  • the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
  • the usage status information of the second type of card includes usable or unusable
  • Determining the first usage status information of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource includes:
  • the method further includes:
  • the current remaining amount is updated.
  • updating the current remaining amount in response to reaching a preset update condition includes at least one of the following:
  • a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount
  • the current remaining amount is updated based on a third update value corresponding to the preset state.
  • switching the first type of cards displayed in the second area to displaying the second type of cards includes:
  • the first type card displayed in the second area is switched to display the second type card.
  • the game state includes at least one of the following:
  • the second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
  • the method further includes:
  • displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
  • Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
  • embodiments of the present disclosure also provide an interactive device, which includes:
  • a first display module configured to display at least part of the game scene in the first area of the graphical user interface
  • the second display module is used to display the first type of cards or the second type of cards in the second area of the graphical user interface; the first type of cards and the second type of cards are used to control virtual characters. Release different types of skills;
  • a third display module configured to also display a card switching button in the graphical user interface, and display the first type of card in the second area in response to the card switching button being in the first state;
  • a switching module configured to switch the card switching button to a second state in response to the triggering operation of the card switching button, and switch the first type of card displayed in the second area to display the The second type of card.
  • the device further includes:
  • a first determination module configured to determine at least one first virtual character corresponding to the first type of card and/or the second type of card
  • a fourth display module configured to display the character identification of the at least one first virtual character in the third area of the graphical user interface and to display on the character identification information related to the first type of card and/or the Default attribute information associated with the second type of card.
  • the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the target virtual resources that need to be consumed to use the corresponding second type of card. consumption; the fourth display module is also used for:
  • the target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  • the preset attribute information also includes first usage status information; the first determination module is also used to:
  • For each second type card determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
  • the fourth display module is also used for:
  • the device further includes:
  • a skill release module configured to respond to a triggering operation on a target character identifier in the character identifier, and release the target first virtual character corresponding to the target character identifier with the first type of card and/or the second type The skill corresponding to the card.
  • the skill release module is specifically used for:
  • the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
  • the usage status information of the second type of card includes usable or unusable
  • the first determination module is specifically used to:
  • the device further includes:
  • An update module configured to update the current remaining amount in response to reaching the preset update condition.
  • the update module is specifically used in at least one of the following situations:
  • a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount
  • the current remaining amount is updated based on a third update value corresponding to the preset state.
  • the switching module is specifically used to:
  • the first type card displayed in the second area is switched to display the second type card.
  • the game state includes at least one of the following:
  • the second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Default return
  • the combination is weakened to a preset degree.
  • the second display module is also used to:
  • displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
  • Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
  • embodiments of the present disclosure also provide a computer device, including: a processor, a memory, and a bus.
  • the memory stores machine-readable instructions executable by the processor.
  • the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the steps in the above-mentioned first aspect, or any possible implementation manner of the first aspect, are performed.
  • embodiments of the present disclosure also provide a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program executes the above-mentioned first aspect, or any of the first aspects. steps in a possible implementation.
  • embodiments of the present disclosure also provide a computer program product.
  • the computer program product includes a computer program/instruction.
  • the computer program/instruction is executed by a processor, the above-mentioned first aspect is implemented, or any of the first aspect is implemented. steps in a possible implementation.
  • An interactive method, device, computer equipment and readable storage medium displayed first type cards/second type cards and card switching buttons on a graphical user interface, and trigger card switching button to change the status information of the card switching button and switch the first type of card displayed in the second area to the second type of card, so that the switching process of displayed cards can be completed by triggering the card switching button, thereby increasing
  • the content displayed by the graphical user interface makes the gameplay of the game more diverse.
  • Figure 1 shows a flow chart of an interactive method provided by an embodiment of the present disclosure
  • Figure 2a shows one of the example diagrams of the graphical user interface in the interaction method provided by the embodiment of the present disclosure
  • Figure 2b shows the second example diagram of the graphical user interface in the interaction method provided by the embodiment of the present disclosure
  • Figure 3 shows a schematic diagram of an interactive device provided by an embodiment of the present disclosure
  • Figure 4 shows a schematic diagram of another interactive device provided by an embodiment of the present disclosure
  • FIG. 5 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
  • an area of the graphical user interface is usually set as the card area, in which a preset number of cards can be displayed. Users can drag the cards used for attack or debuff to the position of the target virtual character in the hostile game camp, thereby triggering the skills corresponding to the cards to achieve attack operations or debuff operations on the target virtual character in the hostile camp. wait. In addition, you can also drag cards with gain effects to the virtual character corresponding to the user to trigger the gain skills corresponding to the card to achieve gain operations on the virtual character controlled by the user.
  • the user can release a preset number of skills by releasing cards, where the cards correspond to the virtual characters controlled by the user. For example, if there are M virtual characters controlled by the user, then the M virtual characters correspond to different cards.
  • the virtual character corresponding to the card is controlled to release the corresponding skill and play the corresponding Skill release special effects.
  • the present disclosure provides an interactive method that displays first type cards/second type cards and card switching buttons on a graphical user interface, and changes the position of the card switching buttons by triggering the card switching buttons.
  • Status information switching the first type of card displayed in the second area to the second type of card, so that the switching process of displayed cards can be completed by triggering the card switching button, thereby increasing the content displayed on the graphical user interface, Makes the gameplay of the game more diverse.
  • the execution subject of the interactive method provided by the embodiment of the present disclosure is generally a computer device with certain computing capabilities.
  • the computer device is, for example, Including: terminal equipment or server or other processing equipment.
  • the terminal equipment can be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld devices, computing devices, in-vehicle devices, wearable devices, etc.
  • the interactive method can be implemented by the processor calling computer-readable instructions stored in the memory.
  • the in-game interaction method provided by the embodiments of the present disclosure can be applied to any game scenario in which virtual objects are interactively controlled.
  • it can include third-person perspective shooting games, first-person perspective shooting games, role-playing games, action games, strategy games, fighting games, sports competition games, adventure games, card games, etc., all of which can be provided using embodiments of the present disclosure.
  • the map display method in the game is not specifically limited here.
  • the interactive control method provided by the embodiment of the present disclosure will be described in detail below, taking the execution subject as a terminal device as an example.
  • the interaction method includes steps S101 to S104, wherein:
  • S101 Display at least part of the game scene in the first area of the graphical user interface.
  • GUI graphical User Interface
  • GUI refers to a computer operation user interface displayed graphically in the terminal device.
  • a graphical user interface is an interface display format for human-computer communication that allows users to use input devices such as a mouse and keyboard to manipulate icons or menu options on the screen to select commands, call files, start programs, or perform other daily tasks.
  • input devices such as a mouse and keyboard
  • icons or menu options on the screen to select commands, call files, start programs, or perform other daily tasks.
  • smart devices such as smartphones and tablets
  • users mostly use handwriting touch screens to operate graphical user interfaces.
  • the first area of the graphical user interface may refer to the entire area or any sub-area of the graphical user interface. All game scenes or part of the game scenes may be displayed in the first area, for example, for Some games that can switch scenes or maps can display part of the game scene in the first area of the graphical user interface.
  • the game scene may include virtual characters controllable by players, props owned by the virtual characters corresponding to the players, etc. For duel games, virtual characters of hostile game camps may also be included. In some game scenes, it can also include rendered screen content, indicative text, icons, etc.
  • the interaction method also includes:
  • S102 Display the first type of card or the second type of card in the second area of the graphical user interface; the first type of card and the second type of card are used to control the virtual character to release different types of cards. Skill.
  • Figure 2a is one of the example diagrams of the graphical user interface in the interaction method provided by the embodiment of the present disclosure
  • Figure 2b is one of the example diagrams of the graphical user interface in the interaction method provided by the embodiment of the present disclosure.
  • a indicates the second area
  • b indicates the first type of card
  • c indicates the second type of card.
  • the first type of cards can be displayed in the second area a, and the second type of cards can also be displayed, but the first type of cards or the second type of cards cannot be displayed in the second area a. Shown simultaneously.
  • the interaction method also includes:
  • a card switching button is also displayed in the graphical user interface. In response to the card switching button being in the first state, the first type of card is displayed in the second area.
  • the card switching button is used to switch between the first type of card and the second type of card under certain conditions.
  • d indicates the card switching button.
  • the card switching button is marked with the current remaining amount of the target virtual resource and the consumption amount of the target virtual resource that the corresponding second type of card needs to consume.
  • the first state is determined based on the current remaining amount of the target virtual resource and the consumption amount of the target virtual resource that the corresponding second type of card needs to consume.
  • the current remaining amount of the target virtual resource is less than the consumption amount of the target virtual resource that the corresponding second type card needs to consume, it is determined that the card switching button is in the first state, and the first type card is displayed in the second area.
  • the interaction method also includes:
  • S104 In response to the triggering operation of the card switching button, switch the card switching button to the second state, and switch the first type of cards displayed in the second area to display the second type. card.
  • the second state is determined based on the current remaining amount of the target virtual resource and the consumption amount of the target virtual resource that the corresponding second type of card needs to consume.
  • the current remaining amount of the target virtual resource is greater than or equal to the consumption of the target virtual resource that the corresponding second type of card needs to consume, it is determined that the card switching button is in the second state, and when the card switching button is triggered , switching the first type of cards displayed in the second area to display the second type of cards.
  • Figure 2a corresponds to a schematic diagram of the first type of card displayed in the second area
  • Figure 2b shows the second type of card displayed in the second area after switching.
  • the current remaining amount of the target virtual resource corresponding to the card switching button is 5, and the consumption of the target virtual resource corresponding to the second type of card is 3, 6, 3, and 7 respectively. Therefore, for the card For card 1 and card 3, the card switching button is in the second state. For card 2 and card 4, the card switching button is in the first state. When the card switching button is triggered, the card switching button Card 1 and card 3 can be displayed in the second area.
  • the interactive method may also include the following steps 1 to 2:
  • Step 1 Determine at least one first virtual character corresponding to the first type card and/or the second type card.
  • the first virtual characters corresponding to the first type cards and the second type cards may be the same or different.
  • the first type cards and the second type cards all correspond to the virtual characters acting on the user.
  • the character, or the virtual character of the hostile game camp, or the first type of card and the second type of card respectively correspond to the user's virtual character and the virtual character of the hostile game camp, which are not limited here.
  • Step 2 After determining at least one first virtual character corresponding to the first type of card and/or the second type of card, the role identification and the at least one first virtual character can be displayed in the third area of the graphical user interface. Preset attribute information associated with the first type of card and/or the second type of card is displayed on the character identification.
  • the position of the third area is not fixed. It can be at a fixed position of the graphical user interface, such as the upper left corner or the upper right corner, or it can change the position following the virtual character, for example, above the head of the virtual character. Move according to the movement of the character.
  • the character identifier of the first virtual character refers to the character's attribute information, such as name, level, etc., and also includes the character's game status, such as being imprisoned, muted, deformed, and unable to move, or killed in battle, etc.
  • the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the consumption of target virtual resources required to use the corresponding second type of card. quantity.
  • displaying the preset attribute information associated with the first type of card and/or the second type of card on the character identification also includes the following content:
  • the consumption of the target virtual resources that need to be consumed refers to The difference between all target virtual resources and the current possession of the target virtual resources is required to use the second type of card.
  • the preset attribute information further includes first usage status information.
  • the interactive method may also include the following:
  • For each second type card determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
  • Displaying preset attribute information associated with the first type of card and/or the second type of card on the character identification further includes:
  • the target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  • the usage status information of the second type of card includes usable or unusable.
  • the method for determining the first usage status information of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource includes the following: content:
  • the usage status information is usable; when the current remaining amount of the target virtual resource indicated by the target value is less than the consumption of the target virtual resource that the second type card needs to consume, determine the second type card The usage status information of is unavailable.
  • the usage status information of the second type card also includes any of the following: being disabled, the character status of the virtual character corresponding to the second type card is dead, etc.
  • switching the first type of cards displayed in the second area to displaying the second type of cards includes the following steps:
  • the first type card displayed in the second area is switched to display the second type card.
  • the game state includes at least one of the following:
  • the second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
  • the usage status information of the second type card when the usage status information of the second type card is usable, it is determined that the display effect of the second type card is the usable status; for example, the usable second type card is set to gold Or colored, or highlighted, such as adding flashing special effects, displaying flame marks around usable second-type cards, etc., to identify that the card is currently available; when the usage status information of the second-type card is When it is unusable, determine that the display effect of the second type card is in an unusable state, for example, set the color of the second type card to gray, etc., or delete the second type card whose use status information indicates that it is unusable.
  • the usage status information of the second type card determines that the display effect of the second type card is in the disabled status, such as adding a disabled logo or changing the color of the second type card to gray. Black, etc., or delete the second type of card whose usage status information is disabled; when the usage status information of the second type of card is the character status information of the virtual character corresponding to the second type of card, for example When the virtual character is killed, etc., it is determined that the display effect of the second type card is consistent with the character status information, that is, it is displayed as dead or to be resurrected, or the second type card is deleted.
  • the number identifier of the first type of card or the second type of card that can currently be used can also be displayed in the graphical user interface. Each time a card is used, a prompt can be given through the identifier. So that users can know the quantity information of cards at any time. For example, if two second-type cards have been used, the two second-type cards that have been used will be marked in gray, and the remaining ones will be marked in gold. The number of golden cards indicates the number of available cards.
  • the first type of card after the first type of card is used, it can be deleted from the card.
  • the second type of card is marked as unusable.
  • the unusable state can be set according to actual needs, for example: it needs to be restored for a certain period of time or a certain number of rounds before it can be used, the current game can only be used once, the current game will be set to the unusable state after being used once, etc. No limitation is made here.
  • cards can also be identified according to the current status of the virtual character. For example, when the virtual character dies, all corresponding cards will be marked as unusable or directly deleted.
  • the interaction method may further include: in response to the triggering of any virtual character, displaying the first type of card in the card display area includes: placing the first type of card corresponding to the triggered virtual character. One type of card is prominently displayed in the card display area; displaying a second type of card in the card display area includes: displaying the second type of card corresponding to the triggered virtual character in the card display area. highlighted in the area.
  • the first area can be controlled to display only, or the first type of card or the second type of card corresponding to the virtual character can be highlighted.
  • Type cards For example, when there are multiple virtual characters controllable by the user, by selecting a certain virtual character, the first area can be controlled to display only, or the first type of card or the second type of card corresponding to the virtual character can be highlighted. Type cards.
  • the interaction method may also include the following content:
  • the current remaining amount is updated.
  • updating the current remaining amount in response to reaching a preset update condition may include at least one of the following: when the first type of card is displayed in the card display area, responding to The use operation of the first type of card determines the first update value corresponding to the use operation, and updates the current remaining amount based on the first update value; in response to the current time reaching the preset update time, based on The second update value corresponding to the update time updates the current remaining amount; in response to the current state of the virtual character reaching a preset state, the current remaining amount is updated based on a third update value corresponding to the preset state.
  • the preset update condition may include that the remaining amount of the target virtual resource does not meet the minimum remaining amount of the target virtual resource, or the current ownership of the target virtual resource does not meet the minimum ownership of the target virtual resource, etc.
  • the method for determining the current ownership of the target virtual resource includes one or more of the following: determining the current ownership of the target virtual resource based on the usage number of the first type of cards; Based on the time information, the current ownership of the target virtual resource is determined; based on the role status information of the virtual character, the current ownership of the target virtual resource is determined.
  • the target virtual resource may be determined based on the preset mapping relationship between the usage quantity of the first type of cards and the growth amount of the target virtual resource, and the usage quantity of the first type of cards.
  • the growth amount and based on the growth amount of the target virtual resource and the first value, determine the current ownership of the target virtual resource; it can also be based on the mapping relationship between the preset time length and the growth amount of the target virtual resource.
  • the growth amount of the target virtual resource may also be determined based on the preset mapping relationship between the character status information and the target virtual resource growth amount, and the role status information of the virtual character, and based on the growth amount of the target virtual resource amount and the first value to determine the current ownership amount of the target virtual resource.
  • the consumption of the target virtual resource is expressed as S.
  • the consumption amount S of the target virtual resource of the target virtual resource can be displayed in association with the card switching button.
  • the target virtual resource consumption S can be restored based on the specific release of the first type of card, or it can be restored based on the advancement of time, or it can also be restored based on the status of the virtual character, for example, the blood volume reaches a certain blood volume or less. , the target virtual resources can be restored faster, etc.
  • the recovery status of the target virtual resource may also be displayed in the third area. For example, if every m cards of the first type are used, 1 point of the target virtual resource is restored. Therefore, the current number of used cards of the first type and the target virtual resource difference from the last restoration can be displayed in the third area.
  • the number of all target virtual resources corresponding to different levels or different types of first-type cards may be different, the recovery speed may be different, and the recovery mechanisms executed may also be different.
  • the interactive method further includes the following content:
  • the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card.
  • the triggering operation may include clicking on the virtual character or the second type of card, or dragging the second type of card to the virtual character, or dragging the virtual character to the second type of card, etc.
  • the target first virtual character corresponding to the target character identification is released with the first type of card and/or the The skills corresponding to the second type of card can include the following steps:
  • the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
  • the target character is determined, and then the second type of card is dragged to the target position, so that the skills corresponding to the second type of card are at the target location. position or target Release around.
  • the skill corresponding to the second type card or virtual character can be quickly released.
  • the virtual character corresponding to the triggered first type of card is controlled, and the virtual character corresponding to the triggered first type of card is released. The game skills corresponding to the first type of cards.
  • the first type of card corresponding to the triggered virtual character is highlighted; and the second type of card corresponding to the triggered virtual character is highlighted.
  • the first type of cards may not consume any virtual resources when released, but the number of first types of cards released in each round is limited.
  • the total number of first type cards and second type cards is Can release up to 3 sheets etc. You can also set the maximum number of releases of the second type of card per round, or you can not set the maximum number of releases, but use the current remaining amount of virtual resources to limit the number of releases of the second card, etc.
  • the disclosed embodiment displays the first type of card/second type of card and the card switching button on the graphical user interface, and triggers the card switching button to change the status information of the card switching button to display the card in the second area.
  • the first type of card is switched to the second type of card, so that the switching process of displaying cards can be completed by triggering the card switching button, thereby increasing the content displayed on the graphical user interface and making the game play more diverse.
  • the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process.
  • the specific execution order of each step should be based on its function and possible The internal logic is determined.
  • the embodiments of the disclosure also provide an interaction device corresponding to the interaction method. Since the principle of solving problems by the device in the embodiment of the disclosure is similar to the above-mentioned interaction method in the embodiment of the disclosure, the implementation of the device can be referred to the method. The implementation will not be repeated again.
  • the interactive device includes: a first display module 310, a second display module 320, a third display module 330, and a switching module 340; wherein,
  • the first display module 310 is used to display at least part of the game scene in the first area of the graphical user interface
  • the second display module 320 is used to display the first type of cards or the second type of cards in the second area of the graphical user interface; the first type of cards and the second type of cards are used to control virtual Characters release different types of skills;
  • the third display module 330 is configured to also display a card switching button in the graphical user interface, and display the first type of card in the second area in response to the card switching button being in the first state;
  • the switching module 340 is configured to switch the card switching button to the second state in response to the triggering operation of the card switching button, and switch the first type of card displayed in the second area to the display location. Describe the second type of cards.
  • FIG. 4 is a schematic diagram of another interactive device provided by an embodiment of the present disclosure.
  • the device further includes:
  • the first determination module 350 is used to determine at least one first virtual character corresponding to the first type of card and/or the second type of card;
  • the fourth display module 360 is configured to display the character identification of the at least one first virtual character in the third area of the graphical user interface and display on the character identification information related to the first type of card and/or the Default attribute information associated with the second type of card.
  • the preset attribute information includes a target number associated with the second type of card. value, the target value is used to represent the consumption of the target virtual resource required to use the corresponding second type of card; the fourth display module 360 is also used to:
  • the target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  • the preset attribute information also includes first usage status information; the first determination module 350 is also used to:
  • For each second type card determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
  • the fourth display module 360 is also used for:
  • the target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  • the device further includes:
  • the skill release module 370 is configured to respond to a triggering operation on a target character identifier in the character identifier, and release the target first virtual character corresponding to the target character identifier and the first type of card and/or the second The skills corresponding to the type of card.
  • the skill release module 370 is specifically used to:
  • the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
  • the usage status information of the second type of card includes usable or unusable
  • the first determination module 350 is specifically used to:
  • the device further includes:
  • the update module 380 is configured to update the current remaining amount in response to reaching the preset update condition.
  • the update module 380 is specifically used in at least one of the following situations:
  • a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount
  • the switching module 340 is specifically used to:
  • the first type card displayed in the second area is switched to display the second type card.
  • the game state includes at least one of the following:
  • the second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
  • the second display module 320 is also used to:
  • displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
  • Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
  • the disclosed embodiment displays the first type of card/second type of card and the card switching button on the graphical user interface, and triggers the card switching button to change the status information of the card switching button to display the card in the second area.
  • the first type of card is switched to the second type of card, so that the switching process of displaying cards can be completed by triggering the card switching button, thereby increasing the content displayed on the graphical user interface, making the game play more diverse, and increasing The user’s sense of immersion during the game.
  • a schematic structural diagram of a computer device provided for an embodiment of the present disclosure includes a processor 501 , a memory 502 , and a bus 503 .
  • the memory 502 is used to store execution instructions, including the memory 5021 and the external memory 5022; the memory 5021 here is also called the internal memory, and is used to temporarily store the operation data in the processor 501, as well as the data exchanged with the external memory 5022 such as the hard disk,
  • the processor 501 exchanges data with the external memory 5022 through the memory 5021.
  • the processor 501 and the memory 502 communicate through the bus 503, so that the processor 501 executes the following instructions:
  • first type cards or second type cards in the second area of the graphical user interface; the first type cards and the second type cards are used to control the virtual character to release different types of skills;
  • a card switching button is also displayed in the graphical user interface, and in response to the card switching button being in the first state, the first type of card is displayed in the second area;
  • the card switching button In response to the triggering operation of the card switching button, the card switching button is switched to a second state, and the first type of cards displayed in the second area is switched to display the second type of cards. .
  • Embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer-readable storage medium.
  • a computer program that executes the steps of the interactive method described in the above method embodiment when the computer program is run by the processor.
  • the storage medium may be a volatile or non-volatile computer-readable storage medium.
  • the computer program product of the interactive method provided by the embodiment of the present disclosure includes a computer-readable storage medium storing program code.
  • the instructions included in the program code can be used to execute the steps of the interactive method described in the above method embodiment. Specifically, Please refer to the above method embodiments, which will not be described again here.
  • Embodiments of the present disclosure also provide a computer program, which implements any of the methods in the foregoing embodiments when executed by a processor.
  • the computer program product can be implemented specifically through hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium.
  • the computer program product is embodied as a software product, such as a Software Development Kit (SDK), etc. wait.
  • SDK Software Development Kit
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor.
  • the technical solution of the present disclosure is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .

Abstract

An interaction method and apparatus, a computer device, and a readable storage medium. The method comprises: displaying a first type of cards or a second type of cards in a second area of a graphical user interface, the first type of cards and the second type of cards being used for controlling a virtual character to cast different types of skills (S102); further displaying a card switching button in the graphical user interface, and displaying the first type of cards in the second area in response to the card switching button being in a first state (S103); and in response to a trigger operation of the card switching button, switching the card switching button to a second state, and switching the first type of cards displayed in the second area to display the second type of cards (S104). In this way, content displayed in the graphical user interface is increased, such that the playing methods of a game are diversified.

Description

一种交互方法、装置、计算机设备及可读存储介质An interactive method, device, computer equipment and readable storage medium
本公开要求于2022年04月15日提交的申请号为202210396131.0、申请名称为“一种交互方法、装置、计算机设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This disclosure claims priority to the Chinese patent application with application number 202210396131.0 and the application title "An interactive method, device, computer equipment and readable storage medium" submitted on April 15, 2022, the entire content of which is incorporated by reference. in this application.
技术领域Technical field
本公开涉及游戏开发技术领域,具体而言,涉及一种交互方法、装置、计算机设备及可读存储介质。The present disclosure relates to the technical field of game development, and specifically to an interactive method, device, computer equipment and readable storage medium.
背景技术Background technique
在当前的卡牌游戏中,通常会向用户展示N张卡牌,用户可以通过拖动卡牌至敌对阵营的虚拟角色位置,触发卡牌对应的技能,实现对敌对阵营虚拟角色的攻击操作。In current card games, N cards are usually displayed to the user. The user can drag the card to the position of the virtual character of the enemy camp to trigger the skills corresponding to the card to attack the virtual character of the enemy camp.
但是,由于图形用户界面的面积有限,所能展示的卡牌数量也受到一定的限制,造成用户的游戏操作也受到一定限制,导致游戏操作的多样性较差。However, due to the limited area of the graphical user interface, the number of cards that can be displayed is also limited, resulting in certain restrictions on the user's game operations, resulting in poor diversity of game operations.
发明内容Contents of the invention
本公开实施例至少提供一种交互方法、装置、计算机设备及可读存储介质。Embodiments of the present disclosure provide at least an interaction method, device, computer equipment, and readable storage medium.
第一方面,本公开实施例提供一种交互方法,所述方法包括:In a first aspect, embodiments of the present disclosure provide an interaction method, which includes:
在图形用户界面的第一区域展示至少部分游戏场景;display at least part of the game scene in the first area of the graphical user interface;
在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制虚拟角色释放不同类型技能;Display first type cards or second type cards in the second area of the graphical user interface; the first type cards and the second type cards are used to control virtual characters to release different types of skills;
所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示所述第一类型卡牌;A card switching button is also displayed in the graphical user interface, and in response to the card switching button being in the first state, the first type of card is displayed in the second area;
响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。In response to the triggering operation of the card switching button, the card switching button is switched to a second state, and the first type of cards displayed in the second area is switched to display the second type of cards. .
一种可选的实施方式中,所述方法还包括:In an optional implementation, the method further includes:
确定与所述第一类型卡牌和/或所述第二类型卡牌对应的至少一个第一虚拟角色;Determine at least one first virtual character corresponding to the first type card and/or the second type card;
在所述图形用户界面的第三区域展示所述至少一个第一虚拟角色的角色标识以及在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息。Displaying the character identification of the at least one first virtual character in a third area of the graphical user interface and displaying the association with the first type of card and/or the second type of card on the character identification. Default attribute information.
一种可选的实施方式中,所述预设属性信息包括与所述第二类型卡牌相关联的目标数值,所述目标数值用于表征使用对应第二类型卡牌需要消耗的目标虚拟资源的消耗量;所述在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息,还包括:In an optional implementation, the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the target virtual resources that need to be consumed to use the corresponding second type of card. consumption; displaying the preset attribute information associated with the first type of card and/or the second type of card on the character identification further includes:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值。The target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
一种可选的实施方式中,所述预设属性信息还包括第一使用状态信息;所述方法还包括:In an optional implementation, the preset attribute information also includes first usage status information; the method further includes:
针对每张所述第二类型卡牌,基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息;For each second type card, determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
所述在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预 设属性信息,还包括:displaying on the character identification a preset associated with the first type of card and/or the second type of card. The attribute information also includes:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值和/或所述第一使用状态信息。The target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
一种可选的实施方式中,所述方法还包括:In an optional implementation, the method further includes:
响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。In response to a triggering operation on the target character identification in the character identification, the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card.
一种可选的实施方式中,所述响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能,包括:In an optional implementation, in response to the triggering operation on the target character identification in the character identification, the target first virtual character corresponding to the target character identification is released and the first type of card and/or The skills corresponding to the second type of cards include:
响应于用户的第一触发操作,确定所述目标角色标识;In response to the user's first triggering operation, determine the target role identification;
响应于所述用户的第二触发操作,确定所述第二触发操作的位置,以及所述位置预设范围内的至少一个第二虚拟角色,所述第二虚拟角色与所述第一虚拟角色属于不同阵营;In response to the user's second trigger operation, determine the location of the second trigger operation and at least one second virtual character within a preset range of the location, the second virtual character being the same as the first virtual character belong to different camps;
所述目标角色标识对应的目标第一虚拟角色向所述第二虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。The target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
一种可选的实施方式中,所述第二类型卡牌的使用状态信息包括可使用或不可使用;In an optional implementation, the usage status information of the second type of card includes usable or unusable;
所述基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息,包括:Determining the first usage status information of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource includes:
将所述第二类型卡牌对应的目标数值和所述当前剩余量进行比对;Compare the target value corresponding to the second type of card with the current remaining amount;
响应于所述目标数值小于或者等于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为可使用;In response to the target value being less than or equal to the current remaining amount, determining that the usage status information of the second type of card is usable;
响应于所述目标数值大于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为不可使用。In response to the target value being greater than the current remaining amount, it is determined that the usage status information of the second type of card is unusable.
一种可选的实施方式中,所述方法还包括:In an optional implementation, the method further includes:
响应于达到预设更新条件,更新所述当前剩余量。In response to reaching the preset update condition, the current remaining amount is updated.
一种可选的实施方式中,所述响应于达到预设更新条件,更新所述当前剩余量,包括下述至少一种:In an optional implementation, updating the current remaining amount in response to reaching a preset update condition includes at least one of the following:
在所述卡牌显示区域展示所述第一类型卡牌的情况下,响应于对所述第一类型卡牌的使用操作,确定与所述使用操作对应的第一更新值,并基于所述第一更新值更新所述当前剩余量;In the case where the first type of card is displayed in the card display area, in response to the use operation of the first type card, a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount;
响应于当前时刻到达预设更新时刻,基于与所述更新时刻对应的第二更新值更新所述当前剩余量;In response to the current time reaching the preset update time, updating the current remaining amount based on the second update value corresponding to the update time;
响应于虚拟角色的当前状态达到预设状态,基于与所述预设状态对应的第三更新值更新所述当前剩余量。In response to the current state of the virtual character reaching a preset state, the current remaining amount is updated based on a third update value corresponding to the preset state.
一种可选的实施方式中,所述将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌,包括:In an optional implementation, switching the first type of cards displayed in the second area to displaying the second type of cards includes:
基于与各张第二类型卡牌对应的虚拟角色的游戏状态,确定与各张第二类型卡牌对应的第二使用状态信息; Based on the game status of the virtual character corresponding to each second type card, determine the second usage status information corresponding to each second type card;
基于所述第二使用状态信息,确定各张第二类型卡牌的第二展示效果;Based on the second usage status information, determine the second display effect of each second type card;
基于各张第二类型卡牌分别对应的第二展示效果,将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。Based on the second display effect corresponding to each second type card, the first type card displayed in the second area is switched to display the second type card.
一种可选的实施方式中,所述游戏状态包括下述至少一种:In an optional implementation, the game state includes at least one of the following:
与所述虚拟角色对应的第二类型卡牌处于目标状态;所述第一目标状态指示对应第二类型卡牌预设游戏回合内无法使用、或者指示对应第二类型卡牌对应的技能效果在预设回合内被削弱预设程度。The second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
一种可选的实施方式中,所述方法还包括:In an optional implementation, the method further includes:
响应于对任一虚拟角色的触发,在所述卡牌展示区域展示第一类型卡牌,包括:将触发的虚拟角色对应的第一类型卡牌,在所述卡牌展示区域中突出展示;In response to the triggering of any virtual character, displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
在所述卡牌展示区域展示第二类型卡牌包括:将触发的虚拟角色对应的第二类型卡牌,在所述卡牌展示区域中突出展示。Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
第二方面,本公开实施例还提供一种交互装置,所述装置包括:In a second aspect, embodiments of the present disclosure also provide an interactive device, which includes:
第一展示模块,用于在图形用户界面的第一区域展示至少部分游戏场景;A first display module, configured to display at least part of the game scene in the first area of the graphical user interface;
第二展示模块,用于在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制虚拟角色释放不同类型技能;The second display module is used to display the first type of cards or the second type of cards in the second area of the graphical user interface; the first type of cards and the second type of cards are used to control virtual characters. Release different types of skills;
第三展示模块,用于所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示所述第一类型卡牌;A third display module, configured to also display a card switching button in the graphical user interface, and display the first type of card in the second area in response to the card switching button being in the first state;
切换模块,用于响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。a switching module, configured to switch the card switching button to a second state in response to the triggering operation of the card switching button, and switch the first type of card displayed in the second area to display the The second type of card.
一种可选的实施方式中,所述装置还包括:In an optional implementation, the device further includes:
第一确定模块,用于确定与所述第一类型卡牌和/或所述第二类型卡牌对应的至少一个第一虚拟角色;A first determination module, configured to determine at least one first virtual character corresponding to the first type of card and/or the second type of card;
第四展示模块,用于在所述图形用户界面的第三区域展示所述至少一个第一虚拟角色的角色标识以及在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息。A fourth display module, configured to display the character identification of the at least one first virtual character in the third area of the graphical user interface and to display on the character identification information related to the first type of card and/or the Default attribute information associated with the second type of card.
一种可选的实施方式中,所述预设属性信息包括与所述第二类型卡牌相关联的目标数值,所述目标数值用于表征使用对应第二类型卡牌需要消耗的目标虚拟资源的消耗量;所述第四展示模块还用于:In an optional implementation, the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the target virtual resources that need to be consumed to use the corresponding second type of card. consumption; the fourth display module is also used for:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值。The target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
一种可选的实施方式中,所述预设属性信息还包括第一使用状态信息;所述第一确定模块还用于:In an optional implementation, the preset attribute information also includes first usage status information; the first determination module is also used to:
针对每张所述第二类型卡牌,基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息;For each second type card, determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
所述第四展示模块还用于:The fourth display module is also used for:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二 类型卡牌的所述目标数值和/或所述第一使用状态信息。Displaying the second character corresponding to the first virtual character on the character identifier of the at least one first virtual character The target value of the type card and/or the first usage status information.
一种可选的实施方式中,所述装置还包括:In an optional implementation, the device further includes:
技能释放模块,用于响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。A skill release module, configured to respond to a triggering operation on a target character identifier in the character identifier, and release the target first virtual character corresponding to the target character identifier with the first type of card and/or the second type The skill corresponding to the card.
一种可选的实施方式中,所述技能释放模块具体用于:In an optional implementation, the skill release module is specifically used for:
响应于用户的第一触发操作,确定所述目标角色标识;In response to the user's first triggering operation, determine the target role identification;
响应于所述用户的第二触发操作,确定所述第二触发操作的位置,以及所述位置预设范围内的至少一个第二虚拟角色,所述第二虚拟角色与所述第一虚拟角色属于不同阵营;In response to the user's second trigger operation, determine the location of the second trigger operation and at least one second virtual character within a preset range of the location, the second virtual character being the same as the first virtual character belong to different camps;
所述目标角色标识对应的目标第一虚拟角色向所述第二虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。The target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
一种可选的实施方式中,所述第二类型卡牌的使用状态信息包括可使用或不可使用;In an optional implementation, the usage status information of the second type of card includes usable or unusable;
所述第一确定模块具体用于:The first determination module is specifically used to:
将所述第二类型卡牌对应的目标数值和所述当前剩余量进行比对;Compare the target value corresponding to the second type of card with the current remaining amount;
响应于所述目标数值小于或者等于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为可使用;In response to the target value being less than or equal to the current remaining amount, determining that the usage status information of the second type of card is usable;
响应于所述目标数值大于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为不可使用。In response to the target value being greater than the current remaining amount, it is determined that the usage status information of the second type of card is unusable.
一种可选的实施方式中,所述装置还包括:In an optional implementation, the device further includes:
更新模块,用于响应于达到预设更新条件,更新所述当前剩余量。An update module, configured to update the current remaining amount in response to reaching the preset update condition.
一种可选的实施方式中,所述更新模块具体用于下述至少一种情况:In an optional implementation, the update module is specifically used in at least one of the following situations:
在所述卡牌显示区域展示所述第一类型卡牌的情况下,响应于对所述第一类型卡牌的使用操作,确定与所述使用操作对应的第一更新值,并基于所述第一更新值更新所述当前剩余量;In the case where the first type of card is displayed in the card display area, in response to the use operation of the first type card, a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount;
响应于当前时刻到达预设更新时刻,基于与所述更新时刻对应的第二更新值更新所述当前剩余量;In response to the current time reaching the preset update time, updating the current remaining amount based on the second update value corresponding to the update time;
响应于虚拟角色的当前状态达到预设状态,基于与所述预设状态对应的第三更新值更新所述当前剩余量。In response to the current state of the virtual character reaching a preset state, the current remaining amount is updated based on a third update value corresponding to the preset state.
一种可选的实施方式中,所述切换模块具体用于:In an optional implementation, the switching module is specifically used to:
基于与各张第二类型卡牌对应的虚拟角色的游戏状态,确定与各张第二类型卡牌对应的第二使用状态信息;Based on the game status of the virtual character corresponding to each second type card, determine the second usage status information corresponding to each second type card;
基于所述第二使用状态信息,确定各张第二类型卡牌的第二展示效果;Based on the second usage status information, determine the second display effect of each second type card;
基于各张第二类型卡牌分别对应的第二展示效果,将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。Based on the second display effect corresponding to each second type card, the first type card displayed in the second area is switched to display the second type card.
一种可选的实施方式中,所述游戏状态包括下述至少一种:In an optional implementation, the game state includes at least one of the following:
与所述虚拟角色对应的第二类型卡牌处于目标状态;所述第一目标状态指示对应第二类型卡牌预设游戏回合内无法使用、或者指示对应第二类型卡牌对应的技能效果在预设回 合内被削弱预设程度。The second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Default return The combination is weakened to a preset degree.
一种可选的实施方式中,所述第二展示模块还用于:In an optional implementation, the second display module is also used to:
响应于对任一虚拟角色的触发,在所述卡牌展示区域展示第一类型卡牌包括:将触发的虚拟角色对应的第一类型卡牌,在所述卡牌展示区域中突出展示;In response to the triggering of any virtual character, displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
在所述卡牌展示区域展示第二类型卡牌包括:将触发的虚拟角色对应的第二类型卡牌,在所述卡牌展示区域中突出展示。Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
第三方面,本公开实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a third aspect, embodiments of the present disclosure also provide a computer device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processing The processor communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the steps in the above-mentioned first aspect, or any possible implementation manner of the first aspect, are performed.
第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, embodiments of the present disclosure also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is run by a processor, the computer program executes the above-mentioned first aspect, or any of the first aspects. steps in a possible implementation.
第五方面,本公开实施例还提供一种计算机程序产品,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fifth aspect, embodiments of the present disclosure also provide a computer program product. The computer program product includes a computer program/instruction. When the computer program/instruction is executed by a processor, the above-mentioned first aspect is implemented, or any of the first aspect is implemented. steps in a possible implementation.
关于上述交互装置、计算机设备、及计算机可读存储介质的效果描述参见上述交互方法的说明,这里不再赘述。For a description of the effects of the above-mentioned interactive device, computer equipment, and computer-readable storage medium, please refer to the description of the above-mentioned interaction method, which will not be described again here.
本公开实施例提供的一种交互方法、装置、计算机设备及可读存储介质,在图形用户界面上展示第一类型卡牌/第二类型卡牌以及卡牌切换按钮,并通过触发卡牌切换按钮,改变卡牌切换按钮的状态信息,将第二区域中展示的第一类型卡牌切换为第二类型卡牌,使得可以通过触发卡牌切换按钮完成展示卡牌的切换过程,由此增加图形用户界面所展示的内容,使得游戏的玩法更加多样性。An interactive method, device, computer equipment and readable storage medium provided by embodiments of the present disclosure display first type cards/second type cards and card switching buttons on a graphical user interface, and trigger card switching button to change the status information of the card switching button and switch the first type of card displayed in the second area to the second type of card, so that the switching process of displayed cards can be completed by triggering the card switching button, thereby increasing The content displayed by the graphical user interface makes the gameplay of the game more diverse.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and understandable, preferred embodiments are given below and described in detail with reference to the accompanying drawings.
附图说明Description of the drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the drawings required to be used in the embodiments will be briefly introduced below. The drawings here are incorporated into the specification and constitute a part of this specification. These drawings are The drawings illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, without exerting creative efforts, they can also Other relevant drawings are obtained based on these drawings.
图1示出了本公开实施例所提供的一种交互方法的流程图;Figure 1 shows a flow chart of an interactive method provided by an embodiment of the present disclosure;
图2a示出了本公开实施例所提供的交互方法中图形用户界面的示例图之一;Figure 2a shows one of the example diagrams of the graphical user interface in the interaction method provided by the embodiment of the present disclosure;
图2b示出了本公开实施例所提供的交互方法中图形用户界面的示例图之二;Figure 2b shows the second example diagram of the graphical user interface in the interaction method provided by the embodiment of the present disclosure;
图3示出了本公开实施例所提供的一种交互装置的示意图;Figure 3 shows a schematic diagram of an interactive device provided by an embodiment of the present disclosure;
图4示出了本公开实施例所提供的另一种交互装置的示意图;Figure 4 shows a schematic diagram of another interactive device provided by an embodiment of the present disclosure;
图5示出了本公开实施例所提供的一种计算机设备的示意图。 FIG. 5 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some embodiments of the present disclosure, but not all embodiments. The components of the embodiments of the present disclosure generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the disclosure provided in the appended drawings is not intended to limit the scope of the claimed disclosure, but rather to represent selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without any creative efforts shall fall within the scope of protection of the present disclosure.
经研究发现,在卡牌游戏,尤其是竖版的卡牌游戏中,通常会将图形用户界面的一个区域设置为卡牌区域,在该区域中,可以展示预设数量的卡牌。用户可以通过拖动用于攻击或者减益地方的卡牌至敌对游戏阵营的目标虚拟角色的位置,从而触发卡牌对应的技能,实现对敌对阵营中目标虚拟角色的攻击操作、或者减益操作等。另外,也可以拖动具有增益效果的卡牌至用户所对应的虚拟角色,以触发卡牌对应的增益技能,实现对用户控制的虚拟角色的增益操作。Research has found that in card games, especially vertical card games, an area of the graphical user interface is usually set as the card area, in which a preset number of cards can be displayed. Users can drag the cards used for attack or debuff to the position of the target virtual character in the hostile game camp, thereby triggering the skills corresponding to the cards to achieve attack operations or debuff operations on the target virtual character in the hostile camp. wait. In addition, you can also drag cards with gain effects to the virtual character corresponding to the user to trigger the gain skills corresponding to the card to achieve gain operations on the virtual character controlled by the user.
以用户游戏为竖版的回合制卡牌类游戏为例,在当前回合中,用户可通过释放卡牌来释放预设数量的技能,其中卡牌与用户控制的虚拟角色对应。例如,用户控制的虚拟角色有M个,则M个虚拟角色对应有不同的卡牌,当用户触发了哪张卡牌,则控制与该卡牌对应的虚拟角色释放对应技能,并播放对应的技能释放特效。Taking a turn-based card game where the user game is a vertical version as an example, in the current round, the user can release a preset number of skills by releasing cards, where the cards correspond to the virtual characters controlled by the user. For example, if there are M virtual characters controlled by the user, then the M virtual characters correspond to different cards. When the user triggers which card, the virtual character corresponding to the card is controlled to release the corresponding skill and play the corresponding Skill release special effects.
但是,在上述卡牌游戏中,尤其是竖版的卡牌类游戏中,由于移动终端的屏幕尺寸有限,也即图形用户界面的尺寸有一定的限制,从而导致图形用户界面能够展示的卡牌数量有限,用户在操作过程中受到限制,影响用户的操作体验。并且由于卡牌数量的限制,也影响了游戏玩法可能存在的多样性。However, in the above-mentioned card games, especially in vertical card games, due to the limited screen size of the mobile terminal, that is, the size of the graphical user interface has certain limitations, resulting in the number of cards that the graphical user interface can display. The quantity is limited, and users are restricted during operation, which affects the user's operating experience. And due to the limitation of the number of cards, it also affects the possible diversity of game play.
基于上述研究,本公开提供了一种交互方法,在图形用户界面上展示第一类型卡牌/第二类型卡牌以及卡牌切换按钮,并通过触发卡牌切换按钮,改变卡牌切换按钮的状态信息,将第二区域中展示的第一类型卡牌切换为第二类型卡牌,使得可以通过触发卡牌切换按钮完成展示卡牌的切换过程,由此增加图形用户界面所展示的内容,使得游戏的玩法更加多样性。Based on the above research, the present disclosure provides an interactive method that displays first type cards/second type cards and card switching buttons on a graphical user interface, and changes the position of the card switching buttons by triggering the card switching buttons. Status information, switching the first type of card displayed in the second area to the second type of card, so that the switching process of displayed cards can be completed by triggering the card switching button, thereby increasing the content displayed on the graphical user interface, Makes the gameplay of the game more diverse.
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure to the above problems below should be attributed to the inventor. Contributions made during the course of this disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that similar reference numerals and letters represent similar items in the following figures, therefore, once an item is defined in one figure, it does not need further definition and explanation in subsequent figures.
为便于对本实施例进行理解,首先对本公开实施例所公开的一种交互方法进行详细介绍,本公开实施例所提供的交互方法的执行主体一般为具有一定计算能力的计算机设备,该计算机设备例如包括:终端设备或服务器或其它处理设备,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字处理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等。 在一些可能的实现方式中,该交互方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。In order to facilitate the understanding of this embodiment, an interactive method disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the interactive method provided by the embodiment of the present disclosure is generally a computer device with certain computing capabilities. The computer device is, for example, Including: terminal equipment or server or other processing equipment. The terminal equipment can be user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld devices, computing devices, in-vehicle devices, wearable devices, etc. In some possible implementations, the interactive method can be implemented by the processor calling computer-readable instructions stored in the memory.
需要说明的是,本公开实施例提供的游戏中的交互方法可以应用于任何对虚拟对象进行交互控制的游戏场景。例如可以包括第三人称视角射击游戏、第一人称视角射击游戏、角色扮演游戏、动作游戏、策略类游戏、格斗游戏、体育竞技类游戏、冒险游戏、卡牌游戏等,均可以采用本公开实施例提供的游戏中的地图显示方法,在此不做具体限制。下面以执行主体为终端设备为例对本公开实施例提供的交互控制方法进行详细说明。It should be noted that the in-game interaction method provided by the embodiments of the present disclosure can be applied to any game scenario in which virtual objects are interactively controlled. For example, it can include third-person perspective shooting games, first-person perspective shooting games, role-playing games, action games, strategy games, fighting games, sports competition games, adventure games, card games, etc., all of which can be provided using embodiments of the present disclosure. The map display method in the game is not specifically limited here. The interactive control method provided by the embodiment of the present disclosure will be described in detail below, taking the execution subject as a terminal device as an example.
参见图1所示,为本公开实施例提供的交互方法的流程图,所述交互方法包括步骤S101~S104,其中:Referring to Figure 1, a flow chart of an interaction method provided by an embodiment of the present disclosure is shown. The interaction method includes steps S101 to S104, wherein:
S101:在图形用户界面的第一区域展示至少部分游戏场景。S101: Display at least part of the game scene in the first area of the graphical user interface.
其中,所述图形用户界面(Graphical User Interface,GUI)指的是终端设备中采用图形方式显示的计算机操作用户界面。图形用户界面是一种人与计算机通信的界面显示格式,允许用户使用鼠标、键盘等输入设备操纵屏幕上的图标或菜单选项,以选择命令、调用文件、启动程序或执行其它一些日常任务。近年来随着智能设备,例如智能手机、平板电脑等兴起,用户大多利用手写触摸屏来操作图形用户界面。Wherein, the graphical user interface (Graphical User Interface, GUI) refers to a computer operation user interface displayed graphically in the terminal device. A graphical user interface is an interface display format for human-computer communication that allows users to use input devices such as a mouse and keyboard to manipulate icons or menu options on the screen to select commands, call files, start programs, or perform other daily tasks. In recent years, with the rise of smart devices, such as smartphones and tablets, users mostly use handwriting touch screens to operate graphical user interfaces.
在本公开实施例中,图形用户界面的第一区域可以指的是图形用户界面的全部区域或任一子区域,在第一区域中可以展示全部游戏场景,也可以展示部分游戏场景,例如对于一些可以进行场景切换或是地图切换的游戏,可以在图形用户界面的第一区域展示部分游戏场景。In the embodiment of the present disclosure, the first area of the graphical user interface may refer to the entire area or any sub-area of the graphical user interface. All game scenes or part of the game scenes may be displayed in the first area, for example, for Some games that can switch scenes or maps can display part of the game scene in the first area of the graphical user interface.
其中,所述游戏场景中可以包括玩家可控制的虚拟角色,玩家对应的虚拟角色所拥有的道具等,对于对决类游戏,还可以包括敌对游戏阵营的虚拟角色。在一些游戏场景中,还可以包括渲染的画面内容,指示性文字、图标等。The game scene may include virtual characters controllable by players, props owned by the virtual characters corresponding to the players, etc. For duel games, virtual characters of hostile game camps may also be included. In some game scenes, it can also include rendered screen content, indicative text, icons, etc.
承接于上述S102,所述交互方法还包括:Continuing from the above S102, the interaction method also includes:
S102:在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制所述虚拟角色释放不同类型技能。S102: Display the first type of card or the second type of card in the second area of the graphical user interface; the first type of card and the second type of card are used to control the virtual character to release different types of cards. Skill.
参见图2a、2b所示,图2a为本公开实施例所提供的交互方法中图形用户界面的示例图之一;图2b为本公开实施例所提供的交互方法中图形用户界面的示例图之二。其中,在图2a中,a指示的为第二区域,b指示的为第一类型卡牌,在图2b中,c指示的是第二类型卡牌。Referring to Figures 2a and 2b, Figure 2a is one of the example diagrams of the graphical user interface in the interaction method provided by the embodiment of the present disclosure; Figure 2b is one of the example diagrams of the graphical user interface in the interaction method provided by the embodiment of the present disclosure. two. Among them, in Figure 2a, a indicates the second area, b indicates the first type of card, and in Figure 2b, c indicates the second type of card.
在本公开实施例中,以上述图示为例,可以在第二区域a中展示第一类型卡牌,也可以展示第二类型卡牌,但是第一类型卡牌或者第二类型卡牌不能同时展示。In the embodiment of the present disclosure, taking the above illustration as an example, the first type of cards can be displayed in the second area a, and the second type of cards can also be displayed, but the first type of cards or the second type of cards cannot be displayed in the second area a. Shown simultaneously.
承接于上述S102,所述交互方法还包括:Continuing from the above S102, the interaction method also includes:
S103:所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示第一类型卡牌。S103: A card switching button is also displayed in the graphical user interface. In response to the card switching button being in the first state, the first type of card is displayed in the second area.
其中,所述卡牌切换按钮用于在一定条件下,在第一类型卡牌和第二类型卡牌之间进行切换。参见图2a、2b所示,d指示的为卡牌切换按钮。所述卡牌切换按钮上标识有目标虚拟资源的当前剩余量,以及对应的第二类型卡牌需要消耗的目标虚拟资源的消耗量。 Wherein, the card switching button is used to switch between the first type of card and the second type of card under certain conditions. Referring to Figures 2a and 2b, d indicates the card switching button. The card switching button is marked with the current remaining amount of the target virtual resource and the consumption amount of the target virtual resource that the corresponding second type of card needs to consume.
所述第一状态是基于目标虚拟资源的当前剩余量,以及对应的第二类型卡牌需要消耗的目标虚拟资源的消耗量而确定的。当目标虚拟资源的当前剩余量小于对应的第二类型卡牌需要消耗的目标虚拟资源的消耗量时,确定卡牌切换按钮处于第一状态,在所述第二区域展示第一类型卡牌。The first state is determined based on the current remaining amount of the target virtual resource and the consumption amount of the target virtual resource that the corresponding second type of card needs to consume. When the current remaining amount of the target virtual resource is less than the consumption amount of the target virtual resource that the corresponding second type card needs to consume, it is determined that the card switching button is in the first state, and the first type card is displayed in the second area.
承接于上述S103,所述交互方法还包括:Continuing from the above S103, the interaction method also includes:
S104:响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。S104: In response to the triggering operation of the card switching button, switch the card switching button to the second state, and switch the first type of cards displayed in the second area to display the second type. card.
其中,所述第二状态是基于目标虚拟资源的当前剩余量,以及对应的第二类型卡牌需要消耗的目标虚拟资源的消耗量而确定的。当目标虚拟资源的当前剩余量大于或等于对应的第二类型卡牌需要消耗的目标虚拟资源的消耗量时,确定卡牌切换按钮处于第二状态,并在所述卡牌切换按钮被触发时,在将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。Wherein, the second state is determined based on the current remaining amount of the target virtual resource and the consumption amount of the target virtual resource that the corresponding second type of card needs to consume. When the current remaining amount of the target virtual resource is greater than or equal to the consumption of the target virtual resource that the corresponding second type of card needs to consume, it is determined that the card switching button is in the second state, and when the card switching button is triggered , switching the first type of cards displayed in the second area to display the second type of cards.
示例性的,以图2a、2b所示的游戏场景为例,图2a对应的为第一类型卡牌展示在第二区域的示意图,图2b为切换后第二类型卡牌展示在第二区域的示意图。假设卡牌切换按钮对应的目标虚拟资源的当前剩余量为5,而其对应的第二类型卡牌需要消耗的目标虚拟资源的消耗量分别为3、6、3、7,因此,针对于卡牌1和卡牌3来讲,卡牌切换按钮处于第二状态,针对于卡牌2和卡牌4来讲,卡牌切换按钮处于第一状态,当卡牌切换按钮被触发时,卡牌1和卡牌3可以展示在第二区域中。For example, taking the game scenes shown in Figures 2a and 2b as an example, Figure 2a corresponds to a schematic diagram of the first type of card displayed in the second area, and Figure 2b shows the second type of card displayed in the second area after switching. schematic diagram. Assume that the current remaining amount of the target virtual resource corresponding to the card switching button is 5, and the consumption of the target virtual resource corresponding to the second type of card is 3, 6, 3, and 7 respectively. Therefore, for the card For card 1 and card 3, the card switching button is in the second state. For card 2 and card 4, the card switching button is in the first state. When the card switching button is triggered, the card switching button Card 1 and card 3 can be displayed in the second area.
在本公开另一实施例中,所述交互方法还可以包括以下步骤一~步骤二:In another embodiment of the present disclosure, the interactive method may also include the following steps 1 to 2:
步骤一:确定与所述第一类型卡牌和/或所述第二类型卡牌对应的至少一个第一虚拟角色。Step 1: Determine at least one first virtual character corresponding to the first type card and/or the second type card.
其中,所述第一类型卡牌和第二类型卡牌所对应的第一虚拟角色可以相同,也可以为不同,例如,第一类型卡牌和第二类型卡牌全部对应作用于用户的虚拟角色,或者敌对游戏阵营的虚拟角色,又或者,一类型卡牌和第二类型卡牌分别对应用户的虚拟角色以及敌对游戏阵营的虚拟角色,在此不作限定。The first virtual characters corresponding to the first type cards and the second type cards may be the same or different. For example, the first type cards and the second type cards all correspond to the virtual characters acting on the user. The character, or the virtual character of the hostile game camp, or the first type of card and the second type of card respectively correspond to the user's virtual character and the virtual character of the hostile game camp, which are not limited here.
步骤二:在确定出第一类型卡牌和/或第二类型卡牌对应的至少一个第一虚拟角色之后,便可以在图形用户界面的第三区域展示至少一个第一虚拟角色的角色标识以及在角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息。Step 2: After determining at least one first virtual character corresponding to the first type of card and/or the second type of card, the role identification and the at least one first virtual character can be displayed in the third area of the graphical user interface. Preset attribute information associated with the first type of card and/or the second type of card is displayed on the character identification.
其中,所述第三区域的位置不固定限制,可以在图形用户界面的一固定位置例如左上角或右上角等,也可以跟随虚拟角色改变位置,例如在虚拟角色的头部上方,随着虚拟角色的移动而移动。第一虚拟角色的角色标识指的是角色的属性信息,例如名称、等级等,还包括角色的游戏状态,例如被禁锢、禁言、变形等无法动作的状态,或者阵亡状态等。The position of the third area is not fixed. It can be at a fixed position of the graphical user interface, such as the upper left corner or the upper right corner, or it can change the position following the virtual character, for example, above the head of the virtual character. Move according to the movement of the character. The character identifier of the first virtual character refers to the character's attribute information, such as name, level, etc., and also includes the character's game status, such as being imprisoned, muted, deformed, and unable to move, or killed in battle, etc.
在本公开实施例中,所述预设属性信息包括与所述第二类型卡牌相关联的目标数值,所述目标数值用于表征使用对应第二类型卡牌需要消耗的目标虚拟资源的消耗量。In this embodiment of the present disclosure, the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the consumption of target virtual resources required to use the corresponding second type of card. quantity.
具体的,在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息还包括以下内容:Specifically, displaying the preset attribute information associated with the first type of card and/or the second type of card on the character identification also includes the following content:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二 类型卡牌的所述目标数值。Displaying the second character corresponding to the first virtual character on the character identifier of the at least one first virtual character The stated target value of the type card.
示例性的,使用对应第二类型卡牌表征释放第二类型卡牌对应的技能所需要目标虚拟资源(例如技能点数)的当前剩余量,也即需要消耗的目标虚拟资源的消耗量指的是使用第二类型卡牌所需要的去全部目标虚拟资源相对目标虚拟资源的当前拥有量的差值。For example, using the corresponding second type of card to represent the current remaining amount of target virtual resources (such as skill points) required to release the skills corresponding to the second type of card, that is, the consumption of the target virtual resources that need to be consumed refers to The difference between all target virtual resources and the current possession of the target virtual resources is required to use the second type of card.
在本公开另一实施例中,所述预设属性信息还包括第一使用状态信息。在该情况下,所述交互方法还可以包括以下内容:In another embodiment of the present disclosure, the preset attribute information further includes first usage status information. In this case, the interactive method may also include the following:
针对每张所述第二类型卡牌,基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息;For each second type card, determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
所述在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息,还包括:Displaying preset attribute information associated with the first type of card and/or the second type of card on the character identification further includes:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值和/或所述第一使用状态信息。The target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
其中,所述第二类型卡牌的使用状态信息包括可使用或不可使用。Wherein, the usage status information of the second type of card includes usable or unusable.
具体的,所述基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息的方法包括以下内容:Specifically, the method for determining the first usage status information of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource includes the following: content:
将所述第二类型卡牌对应的目标数值和所述当前剩余量进行比对;Compare the target value corresponding to the second type of card with the current remaining amount;
响应于所述目标数值小于或者等于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为可使用;In response to the target value being less than or equal to the current remaining amount, determining that the usage status information of the second type of card is usable;
响应于所述目标数值大于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为不可使用。In response to the target value being greater than the current remaining amount, it is determined that the usage status information of the second type of card is unusable.
示例性的,当所述目标数值指示的所述目标虚拟资源的当前剩余量大于或等于所述第二类型卡牌需要消耗的目标虚拟资源的消耗量时,确定所述第二类型卡牌的使用状态信息为可使用;当所述目标数值指示的所述目标虚拟资源的当前剩余量小于所述第二类型卡牌需要消耗的目标虚拟资源的消耗量时,确定所述第二类型卡牌的使用状态信息为不可使用。Exemplarily, when the current remaining amount of the target virtual resource indicated by the target value is greater than or equal to the consumption of the target virtual resource that the second type card needs to consume, determine the amount of the second type card. The usage status information is usable; when the current remaining amount of the target virtual resource indicated by the target value is less than the consumption of the target virtual resource that the second type card needs to consume, determine the second type card The usage status information of is unavailable.
在本公开另一实施例中,所述第二类型卡牌的使用状态信息还包括以下任意一种:被禁用、所述第二类型卡牌对应的虚拟角色的角色状态为死亡等。In another embodiment of the present disclosure, the usage status information of the second type card also includes any of the following: being disabled, the character status of the virtual character corresponding to the second type card is dead, etc.
具体的,所述将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌包括以下步骤:Specifically, switching the first type of cards displayed in the second area to displaying the second type of cards includes the following steps:
基于与各张第二类型卡牌对应的虚拟角色的游戏状态,确定与各张第二类型卡牌对应的第二使用状态信息;Based on the game status of the virtual character corresponding to each second type card, determine the second usage status information corresponding to each second type card;
基于所述第二使用状态信息,确定各张第二类型卡牌的第二展示效果;Based on the second usage status information, determine the second display effect of each second type card;
基于各张第二类型卡牌分别对应的第二展示效果,将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。Based on the second display effect corresponding to each second type card, the first type card displayed in the second area is switched to display the second type card.
其中,所述游戏状态包括下述至少一种:Wherein, the game state includes at least one of the following:
与所述虚拟角色对应的第二类型卡牌处于目标状态;所述第一目标状态指示对应第二类型卡牌预设游戏回合内无法使用、或者指示对应第二类型卡牌对应的技能效果在预设回合内被削弱预设程度。 The second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
示例性的,当所述第二类型卡牌的使用状态信息为可使用时,确定所述第二类型卡牌的展示效果为可使用状态;例如将可使用的第二类型卡牌设置为金色或者彩色,或者突出显示,如添加闪烁特效、在可使用的第二类型卡牌周围显示火焰的标记等,用以标识该卡牌当前可用;当所述第二类型卡牌的使用状态信息为不可使用时,确定所述第二类型卡牌的展示效果为不可使用状态,例如将第二类型卡牌的颜色设置为灰色等,或删除所述使用状态信息为不可使用的第二类型卡牌;当所述第二类型卡牌的使用状态信息为被禁用时,确定所述第二类型卡牌的展示效果为被禁用状态,例如添加禁用标识或者将第二类型卡牌的颜色改变为灰黑色等,或删除所述使用状态信息为被禁用的第二类型卡牌;当所述第二类型卡牌的使用状态信息为所述第二类型卡牌对应的虚拟角色的角色状态信息,例如虚拟角色阵亡等时,确定所述第二类型卡牌的展示效果与所述角色状态信息一致,即展示为阵亡或是待复活,或删除所述第二类型卡牌。For example, when the usage status information of the second type card is usable, it is determined that the display effect of the second type card is the usable status; for example, the usable second type card is set to gold Or colored, or highlighted, such as adding flashing special effects, displaying flame marks around usable second-type cards, etc., to identify that the card is currently available; when the usage status information of the second-type card is When it is unusable, determine that the display effect of the second type card is in an unusable state, for example, set the color of the second type card to gray, etc., or delete the second type card whose use status information indicates that it is unusable. ; When the usage status information of the second type card is disabled, determine that the display effect of the second type card is in the disabled status, such as adding a disabled logo or changing the color of the second type card to gray. Black, etc., or delete the second type of card whose usage status information is disabled; when the usage status information of the second type of card is the character status information of the virtual character corresponding to the second type of card, for example When the virtual character is killed, etc., it is determined that the display effect of the second type card is consistent with the character status information, that is, it is displayed as dead or to be resurrected, or the second type card is deleted.
在本公开另一实施例中,还可以在图形用户界面中展示当前可以使用第一类型卡牌或第二类型卡牌的数量标识,每使用一张卡牌,就可以通过该标识进行提示,以使用户可以随时了解卡牌的数量信息。例如若已经使用了两张第二类型卡牌,则将已经使用的两张第二类型卡牌标识为灰色,余下的标记为金色,金色卡牌的数量指示可用卡牌的数量。In another embodiment of the present disclosure, the number identifier of the first type of card or the second type of card that can currently be used can also be displayed in the graphical user interface. Each time a card is used, a prompt can be given through the identifier. So that users can know the quantity information of cards at any time. For example, if two second-type cards have been used, the two second-type cards that have been used will be marked in gray, and the remaining ones will be marked in gold. The number of golden cards indicates the number of available cards.
在本公开另一实施例中,当第一类型卡牌被使用后,可以从卡牌中删除。若第二类型卡牌被使用,则将该第二类型卡牌标识为无法使用的状态。该无法使用状态可以根据实际需要进行设置,例如:需要恢复一定时间或者一定回合数后才可使用、当前对局只能够使用一次、当前对局只要使用一次后就被置为无法使用状态等,在此不作限定。此外还可以根据虚拟角色的当前状态标识卡牌,例如当虚拟角色阵亡时,其对应的卡牌全部标识为不可使用,或直接删除等。In another embodiment of the present disclosure, after the first type of card is used, it can be deleted from the card. If the second type of card is used, the second type of card is marked as unusable. The unusable state can be set according to actual needs, for example: it needs to be restored for a certain period of time or a certain number of rounds before it can be used, the current game can only be used once, the current game will be set to the unusable state after being used once, etc. No limitation is made here. In addition, cards can also be identified according to the current status of the virtual character. For example, when the virtual character dies, all corresponding cards will be marked as unusable or directly deleted.
在本公开另一实施例中,所述交互方法还可以包括:响应于对任一虚拟角色的触发,在所述卡牌展示区域展示第一类型卡牌包括:将触发的虚拟角色对应的第一类型卡牌,在所述卡牌展示区域中突出展示;在所述卡牌展示区域展示第二类型卡牌包括:将触发的虚拟角色对应的第二类型卡牌,在所述卡牌展示区域中突出展示。In another embodiment of the present disclosure, the interaction method may further include: in response to the triggering of any virtual character, displaying the first type of card in the card display area includes: placing the first type of card corresponding to the triggered virtual character. One type of card is prominently displayed in the card display area; displaying a second type of card in the card display area includes: displaying the second type of card corresponding to the triggered virtual character in the card display area. highlighted in the area.
示例性的,在用户可控制的虚拟角色有多个的情况下,可以通过选中某个虚拟角色,控制第一区域只显示,或者突出显示与该虚拟角色对应的第一类型卡牌或第二类型卡牌。For example, when there are multiple virtual characters controllable by the user, by selecting a certain virtual character, the first area can be controlled to display only, or the first type of card or the second type of card corresponding to the virtual character can be highlighted. Type cards.
在本公开另一实施例中,所述交互方法还可以包括以下内容:In another embodiment of the present disclosure, the interaction method may also include the following content:
响应于达到预设更新条件,更新所述当前剩余量。In response to reaching the preset update condition, the current remaining amount is updated.
具体的,所述响应于达到预设更新条件,更新所述当前剩余量,可以包括下述至少一种:在所述卡牌显示区域展示所述第一类型卡牌的情况下,响应于对所述第一类型卡牌的使用操作,确定与所述使用操作对应的第一更新值,并基于所述第一更新值更新所述当前剩余量;响应于当前时刻到达预设更新时刻,基于与所述更新时刻对应的第二更新值更新所述当前剩余量;响应于虚拟角色的当前状态达到预设状态,基于与所述预设状态对应的第三更新值更新所述当前剩余量。Specifically, updating the current remaining amount in response to reaching a preset update condition may include at least one of the following: when the first type of card is displayed in the card display area, responding to The use operation of the first type of card determines the first update value corresponding to the use operation, and updates the current remaining amount based on the first update value; in response to the current time reaching the preset update time, based on The second update value corresponding to the update time updates the current remaining amount; in response to the current state of the virtual character reaching a preset state, the current remaining amount is updated based on a third update value corresponding to the preset state.
其中,所述预设更新条件可以包括目标虚拟资源的剩余量不满足目标虚拟资源的最低剩余量等,或者目标虚拟资源的当前拥有量不满足目标虚拟资源的最低拥有量等。 The preset update condition may include that the remaining amount of the target virtual resource does not meet the minimum remaining amount of the target virtual resource, or the current ownership of the target virtual resource does not meet the minimum ownership of the target virtual resource, etc.
在本公开实施例中,确定所述目标虚拟资源的当前拥有量的方法包括以下一种或多种:基于所述第一类型卡牌的使用数量,确定所述目标虚拟资源的当前拥有量;基于时间信息,确定所述目标虚拟资源的当前拥有量;基于虚拟角色的角色状态信息,确定所述目标虚拟资源的当前拥有量。In an embodiment of the present disclosure, the method for determining the current ownership of the target virtual resource includes one or more of the following: determining the current ownership of the target virtual resource based on the usage number of the first type of cards; Based on the time information, the current ownership of the target virtual resource is determined; based on the role status information of the virtual character, the current ownership of the target virtual resource is determined.
示例性的,可以根据预设的所述第一类型卡牌的使用数量与所述目标虚拟资源增长量的映射关系,以及所述第一类型卡牌的使用数量,确定所述目标虚拟资源的增长量,并基于所述目标虚拟资源的增长量以及所述第一数值,确定所述目标虚拟资源的当前拥有量;还可以根据预设的时间长度与所述目标虚拟资源增长量的映射关系,以及所述目标虚拟资源缺失的时间长度,确定所述目标虚拟资源的增长量,并基于所述目标虚拟资源的增长量以及所述第一数值,确定所述目标虚拟资源的当前拥有量;还可以基于预设的角色状态信息与所述目标虚拟资源增长量的映射关系,以及所述虚拟角色的角色状态信息,确定所述目标虚拟资源的增长量,并基于所述目标虚拟资源的增长量以及所述第一数值,确定所述目标虚拟资源的当前拥有量。For example, the target virtual resource may be determined based on the preset mapping relationship between the usage quantity of the first type of cards and the growth amount of the target virtual resource, and the usage quantity of the first type of cards. The growth amount, and based on the growth amount of the target virtual resource and the first value, determine the current ownership of the target virtual resource; it can also be based on the mapping relationship between the preset time length and the growth amount of the target virtual resource. , and the length of time the target virtual resource is missing, determine the growth amount of the target virtual resource, and determine the current ownership of the target virtual resource based on the growth amount of the target virtual resource and the first value; The growth amount of the target virtual resource may also be determined based on the preset mapping relationship between the character status information and the target virtual resource growth amount, and the role status information of the virtual character, and based on the growth amount of the target virtual resource amount and the first value to determine the current ownership amount of the target virtual resource.
示例性的,假设目标虚拟资源的消耗量表示为S。该目标虚拟资源的目标虚拟资源的消耗量S可以和卡牌切换按钮关联展示。目标虚拟资源的消耗量S可以利用对第一类型卡牌的具体释放情况来进行恢复,或者根据时间的推进进行恢复,或者也可以根据虚拟角色的状态进行恢复,例如血量达到一定血量以下,目标虚拟资源恢复的较快等。For example, assume that the consumption of the target virtual resource is expressed as S. The consumption amount S of the target virtual resource of the target virtual resource can be displayed in association with the card switching button. The target virtual resource consumption S can be restored based on the specific release of the first type of card, or it can be restored based on the advancement of time, or it can also be restored based on the status of the virtual character, for example, the blood volume reaches a certain blood volume or less. , the target virtual resources can be restored faster, etc.
在本公开另一实施例中,还可以在该第三区域中显示目标虚拟资源的恢复情况。例如,若每使用m张第一类型卡牌,就恢复1点目标虚拟资源,因此可以在第三区域显示第一类型卡牌的当前使用数量以及距离上次恢复所差的目标虚拟资源。另外,不同等级或者不同类型的第一类型卡牌所对应的全部目标虚拟资源的数量可以不同,恢复速度可以不同,执行的恢复机制也有所不同。In another embodiment of the present disclosure, the recovery status of the target virtual resource may also be displayed in the third area. For example, if every m cards of the first type are used, 1 point of the target virtual resource is restored. Therefore, the current number of used cards of the first type and the target virtual resource difference from the last restoration can be displayed in the third area. In addition, the number of all target virtual resources corresponding to different levels or different types of first-type cards may be different, the recovery speed may be different, and the recovery mechanisms executed may also be different.
在本公开另一实施例中,所述交互方法还包括以下内容:In another embodiment of the present disclosure, the interactive method further includes the following content:
响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。In response to a triggering operation on the target character identification in the character identification, the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card.
其中,所述触发操作可以包括对虚拟角色或是第二类型卡牌进行点击,或者是将第二类型卡牌拖拽到虚拟角色,或者是将虚拟角色拖拽到第二类型卡牌等。The triggering operation may include clicking on the virtual character or the second type of card, or dragging the second type of card to the virtual character, or dragging the virtual character to the second type of card, etc.
在本公开实施例中,所述响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能可以包括以下步骤:In the embodiment of the present disclosure, in response to the triggering operation on the target character identification in the character identification, the target first virtual character corresponding to the target character identification is released with the first type of card and/or the The skills corresponding to the second type of card can include the following steps:
响应于用户的第一触发操作,确定所述目标角色标识;In response to the user's first triggering operation, determine the target role identification;
响应于所述用户的第二触发操作,确定所述第二触发操作的位置,以及所述位置预设范围内的至少一个第二虚拟角色,所述第二虚拟角色与所述第一虚拟角色属于不同阵营;In response to the user's second trigger operation, determine the location of the second trigger operation and at least one second virtual character within a preset range of the location, the second virtual character being the same as the first virtual character belong to different camps;
所述目标角色标识对应的目标第一虚拟角色向所述第二虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。The target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
示例性的,当用户点击虚拟角色或第二类型卡牌时,确定出目标角色,之后,将所述第二类型卡牌进行拖拽到目标位置,使得第二类型卡牌对应的技能在目标位置或是目标位 置周围释放。例如,可以通过触发第二类型卡牌或者虚拟角色的标识,来快捷释放与该第二类型卡牌或者虚拟角色对应的技能。此外,在所述第二区域展示第一类型卡牌时,响应于对任一张第一类型卡牌的触发,控制与该触发的第一类型卡牌对应的虚拟角色,释放与该触发的第一类型卡牌对应的游戏技能。For example, when the user clicks on the virtual character or the second type of card, the target character is determined, and then the second type of card is dragged to the target position, so that the skills corresponding to the second type of card are at the target location. position or target Release around. For example, by triggering the logo of the second type card or virtual character, the skill corresponding to the second type card or virtual character can be quickly released. In addition, when the first type of card is displayed in the second area, in response to the triggering of any first type of card, the virtual character corresponding to the triggered first type of card is controlled, and the virtual character corresponding to the triggered first type of card is released. The game skills corresponding to the first type of cards.
在本公开另一实施例中,响应于对任一虚拟角色的触发,将触发的虚拟角色对应的第一类型卡牌突出展示;以及将触发的虚拟角色对应的第二卡牌突出展示。In another embodiment of the present disclosure, in response to the triggering of any virtual character, the first type of card corresponding to the triggered virtual character is highlighted; and the second type of card corresponding to the triggered virtual character is highlighted.
在本公开实施例中,第一类型卡牌在释放时,可以不消耗任何的虚拟资源,但是第一卡牌每个回合释放的数量有限,例如第一类型卡牌和第二类型卡牌一共可以释放最多3张等。还可以设置第二类型卡牌每回合的最大释放次数,也可以不设置最大释放次数,而是利用虚拟资源的当前剩余量来限定第二卡牌的释放数量等。In the embodiment of the present disclosure, the first type of cards may not consume any virtual resources when released, but the number of first types of cards released in each round is limited. For example, the total number of first type cards and second type cards is Can release up to 3 sheets etc. You can also set the maximum number of releases of the second type of card per round, or you can not set the maximum number of releases, but use the current remaining amount of virtual resources to limit the number of releases of the second card, etc.
本公开实施例在图形用户界面上展示第一类型卡牌/第二类型卡牌以及卡牌切换按钮,并通过触发卡牌切换按钮,改变卡牌切换按钮的状态信息,将第二区域中展示的第一类型卡牌切换为第二类型卡牌,使得可以通过触发卡牌切换按钮完成展示卡牌的切换过程,由此增加图形用户界面所展示的内容,使得游戏的玩法更加多样性。The disclosed embodiment displays the first type of card/second type of card and the card switching button on the graphical user interface, and triggers the card switching button to change the status information of the card switching button to display the card in the second area. The first type of card is switched to the second type of card, so that the switching process of displaying cards can be completed by triggering the card switching button, thereby increasing the content displayed on the graphical user interface and making the game play more diverse.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above-mentioned methods of specific embodiments, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be based on its function and possible The internal logic is determined.
基于同一发明构思,本公开实施例中还提供了与交互方法对应的交互装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述交互方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiments of the disclosure also provide an interaction device corresponding to the interaction method. Since the principle of solving problems by the device in the embodiment of the disclosure is similar to the above-mentioned interaction method in the embodiment of the disclosure, the implementation of the device can be referred to the method. The implementation will not be repeated again.
参照图3所示,为本公开实施例提供的一种交互装置的示意图,所述交互装置包括:第一展示模块310、第二展示模块320、第三展示模块330、切换模块340;其中,Referring to Figure 3, which is a schematic diagram of an interactive device provided by an embodiment of the present disclosure, the interactive device includes: a first display module 310, a second display module 320, a third display module 330, and a switching module 340; wherein,
第一展示模块310,用于在图形用户界面的第一区域展示至少部分游戏场景;The first display module 310 is used to display at least part of the game scene in the first area of the graphical user interface;
第二展示模块320,用于在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制虚拟角色释放不同类型技能;The second display module 320 is used to display the first type of cards or the second type of cards in the second area of the graphical user interface; the first type of cards and the second type of cards are used to control virtual Characters release different types of skills;
第三展示模块330,用于所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示所述第一类型卡牌;The third display module 330 is configured to also display a card switching button in the graphical user interface, and display the first type of card in the second area in response to the card switching button being in the first state;
切换模块340,用于响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。The switching module 340 is configured to switch the card switching button to the second state in response to the triggering operation of the card switching button, and switch the first type of card displayed in the second area to the display location. Describe the second type of cards.
参照图4所示,为本公开实施例提供的另一种交互装置的示意图。Refer to FIG. 4 , which is a schematic diagram of another interactive device provided by an embodiment of the present disclosure.
一种可选的实施方式中,所述装置还包括:In an optional implementation, the device further includes:
第一确定模块350,用于确定与所述第一类型卡牌和/或所述第二类型卡牌对应的至少一个第一虚拟角色;The first determination module 350 is used to determine at least one first virtual character corresponding to the first type of card and/or the second type of card;
第四展示模块360,用于在所述图形用户界面的第三区域展示所述至少一个第一虚拟角色的角色标识以及在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息。The fourth display module 360 is configured to display the character identification of the at least one first virtual character in the third area of the graphical user interface and display on the character identification information related to the first type of card and/or the Default attribute information associated with the second type of card.
一种可选的实施方式中,所述预设属性信息包括与所述第二类型卡牌相关联的目标数 值,所述目标数值用于表征使用对应第二类型卡牌需要消耗的目标虚拟资源的消耗量;所述第四展示模块360还用于:In an optional implementation, the preset attribute information includes a target number associated with the second type of card. value, the target value is used to represent the consumption of the target virtual resource required to use the corresponding second type of card; the fourth display module 360 is also used to:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值。The target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
一种可选的实施方式中,所述预设属性信息还包括第一使用状态信息;所述第一确定模块350还用于:In an optional implementation, the preset attribute information also includes first usage status information; the first determination module 350 is also used to:
针对每张所述第二类型卡牌,基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息;For each second type card, determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
所述第四展示模块360还用于:The fourth display module 360 is also used for:
在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值和/或所述第一使用状态信息。The target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
一种可选的实施方式中,所述装置还包括:In an optional implementation, the device further includes:
技能释放模块370,用于响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。The skill release module 370 is configured to respond to a triggering operation on a target character identifier in the character identifier, and release the target first virtual character corresponding to the target character identifier and the first type of card and/or the second The skills corresponding to the type of card.
一种可选的实施方式中,所述技能释放模块370具体用于:In an optional implementation, the skill release module 370 is specifically used to:
响应于用户的第一触发操作,确定所述目标角色标识;In response to the user's first triggering operation, determine the target role identification;
响应于所述用户的第二触发操作,确定所述第二触发操作的位置,以及所述位置预设范围内的至少一个第二虚拟角色,所述第二虚拟角色与所述第一虚拟角色属于不同阵营;In response to the user's second trigger operation, determine the location of the second trigger operation and at least one second virtual character within a preset range of the location, the second virtual character being the same as the first virtual character belong to different camps;
所述目标角色标识对应的目标第一虚拟角色向所述第二虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。The target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card to the second virtual character.
一种可选的实施方式中,所述第二类型卡牌的使用状态信息包括可使用或不可使用;In an optional implementation, the usage status information of the second type of card includes usable or unusable;
所述第一确定模块350具体用于:The first determination module 350 is specifically used to:
将所述第二类型卡牌对应的目标数值和所述当前剩余量进行比对;Compare the target value corresponding to the second type of card with the current remaining amount;
响应于所述目标数值小于或者等于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为可使用;In response to the target value being less than or equal to the current remaining amount, determining that the usage status information of the second type of card is usable;
响应于所述目标数值大于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为不可使用。In response to the target value being greater than the current remaining amount, it is determined that the usage status information of the second type of card is unusable.
一种可选的实施方式中,所述装置还包括:In an optional implementation, the device further includes:
更新模块380,用于响应于达到预设更新条件,更新所述当前剩余量。The update module 380 is configured to update the current remaining amount in response to reaching the preset update condition.
一种可选的实施方式中,所述更新模块380具体用于下述至少一种情况:In an optional implementation, the update module 380 is specifically used in at least one of the following situations:
在所述卡牌显示区域展示所述第一类型卡牌的情况下,响应于对所述第一类型卡牌的使用操作,确定与所述使用操作对应的第一更新值,并基于所述第一更新值更新所述当前剩余量;In the case where the first type of card is displayed in the card display area, in response to the use operation of the first type card, a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount;
响应于当前时刻到达预设更新时刻,基于与所述更新时刻对应的第二更新值更新所述当前剩余量;In response to the current time reaching the preset update time, updating the current remaining amount based on the second update value corresponding to the update time;
响应于虚拟角色的当前状态达到预设状态,基于与所述预设状态对应的第三更新值更 新所述当前剩余量。In response to the current state of the virtual character reaching the preset state, updating the value based on the third update value corresponding to the preset state. New stated current remaining amount.
一种可选的实施方式中,所述切换模块340具体用于:In an optional implementation, the switching module 340 is specifically used to:
基于与各张第二类型卡牌对应的虚拟角色的游戏状态,确定与各张第二类型卡牌对应的第二使用状态信息;Based on the game status of the virtual character corresponding to each second type card, determine the second usage status information corresponding to each second type card;
基于所述第二使用状态信息,确定各张第二类型卡牌的第二展示效果;Based on the second usage status information, determine the second display effect of each second type card;
基于各张第二类型卡牌分别对应的第二展示效果,将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。Based on the second display effect corresponding to each second type card, the first type card displayed in the second area is switched to display the second type card.
一种可选的实施方式中,所述游戏状态包括下述至少一种:In an optional implementation, the game state includes at least one of the following:
与所述虚拟角色对应的第二类型卡牌处于目标状态;所述第一目标状态指示对应第二类型卡牌预设游戏回合内无法使用、或者指示对应第二类型卡牌对应的技能效果在预设回合内被削弱预设程度。The second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
一种可选的实施方式中,所述第二展示模块320还用于:In an optional implementation, the second display module 320 is also used to:
响应于对任一虚拟角色的触发,在所述卡牌展示区域展示第一类型卡牌包括:将触发的虚拟角色对应的第一类型卡牌,在所述卡牌展示区域中突出展示;In response to the triggering of any virtual character, displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
在所述卡牌展示区域展示第二类型卡牌包括:将触发的虚拟角色对应的第二类型卡牌,在所述卡牌展示区域中突出展示。Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
本公开实施例在图形用户界面上展示第一类型卡牌/第二类型卡牌以及卡牌切换按钮,并通过触发卡牌切换按钮,改变卡牌切换按钮的状态信息,将第二区域中展示的第一类型卡牌切换为第二类型卡牌,使得可以通过触发卡牌切换按钮完成展示卡牌的切换过程,由此增加图形用户界面所展示的内容,使得游戏的玩法更加多样性,增加用户在游戏过程中的沉浸感。The disclosed embodiment displays the first type of card/second type of card and the card switching button on the graphical user interface, and triggers the card switching button to change the status information of the card switching button to display the card in the second area. The first type of card is switched to the second type of card, so that the switching process of displaying cards can be completed by triggering the card switching button, thereby increasing the content displayed on the graphical user interface, making the game play more diverse, and increasing The user’s sense of immersion during the game.
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For a description of the processing flow of each module in the device and the interaction flow between the modules, please refer to the relevant descriptions in the above method embodiments, and will not be described in detail here.
基于同一技术构思,本公开实施例还提供了一种计算机设备。参照图5所示,为本公开实施例提供的计算机设备的结构示意图,包括处理器501、存储器502、和总线503。其中,存储器502用于存储执行指令,包括内存5021和外部存储器5022;这里的内存5021也称内存储器,用于暂时存放处理器501中的运算数据,以及与硬盘等外部存储器5022交换的数据,处理器501通过内存5021与外部存储器5022进行数据交换,当计算机设备运行时,处理器501与存储器502之间通过总线503通信,使得处理器501在执行以下指令:Based on the same technical concept, embodiments of the present disclosure also provide a computer device. Referring to FIG. 5 , a schematic structural diagram of a computer device provided for an embodiment of the present disclosure includes a processor 501 , a memory 502 , and a bus 503 . Among them, the memory 502 is used to store execution instructions, including the memory 5021 and the external memory 5022; the memory 5021 here is also called the internal memory, and is used to temporarily store the operation data in the processor 501, as well as the data exchanged with the external memory 5022 such as the hard disk, The processor 501 exchanges data with the external memory 5022 through the memory 5021. When the computer device is running, the processor 501 and the memory 502 communicate through the bus 503, so that the processor 501 executes the following instructions:
在图形用户界面的第一区域展示至少部分游戏场景;display at least part of the game scene in the first area of the graphical user interface;
在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制所述虚拟角色释放不同类型技能;Display first type cards or second type cards in the second area of the graphical user interface; the first type cards and the second type cards are used to control the virtual character to release different types of skills;
所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示第一类型卡牌;A card switching button is also displayed in the graphical user interface, and in response to the card switching button being in the first state, the first type of card is displayed in the second area;
响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。In response to the triggering operation of the card switching button, the card switching button is switched to a second state, and the first type of cards displayed in the second area is switched to display the second type of cards. .
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算 机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的交互方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer-readable storage medium. A computer program that executes the steps of the interactive method described in the above method embodiment when the computer program is run by the processor. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本公开实施例所提供的交互方法的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行上述方法实施例中所述的交互方法的步骤,具体可参见上述方法实施例,在此不再赘述。The computer program product of the interactive method provided by the embodiment of the present disclosure includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the steps of the interactive method described in the above method embodiment. Specifically, Please refer to the above method embodiments, which will not be described again here.
本公开实施例还提供一种计算机程序,该计算机程序被处理器执行时实现前述实施例的任意一种方法。该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。Embodiments of the present disclosure also provide a computer program, which implements any of the methods in the foregoing embodiments when executed by a processor. The computer program product can be implemented specifically through hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium. In another optional embodiment, the computer program product is embodied as a software product, such as a Software Development Kit (SDK), etc. wait.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here. In the several embodiments provided in this disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code. .
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保 护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。 Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present disclosure and are used to illustrate the technical solutions of the present disclosure rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although refer to the foregoing The embodiments describe the present disclosure in detail. Those of ordinary skill in the art should understand that any person familiar with the technical field can still modify the technical solutions recorded in the foregoing embodiments within the technical scope disclosed in the present disclosure. Changes may be easily imagined, or equivalent substitutions may be made to some of the technical features; and these modifications, changes or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and shall be included in the present disclosure. of protection within the protection range. Therefore, the protection scope of the present disclosure should be determined by the protection scope of the claims.

Claims (16)

  1. 一种交互方法,其特征在于,所述方法包括:An interactive method, characterized in that the method includes:
    在图形用户界面的第一区域展示至少部分游戏场景;display at least part of the game scene in the first area of the graphical user interface;
    在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制虚拟角色释放不同类型技能;Display first type cards or second type cards in the second area of the graphical user interface; the first type cards and the second type cards are used to control virtual characters to release different types of skills;
    所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示所述第一类型卡牌;A card switching button is also displayed in the graphical user interface, and in response to the card switching button being in the first state, the first type of card is displayed in the second area;
    响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。In response to the triggering operation of the card switching button, the card switching button is switched to a second state, and the first type of cards displayed in the second area is switched to display the second type of cards. .
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, further comprising:
    确定与所述第一类型卡牌和/或所述第二类型卡牌对应的至少一个第一虚拟角色;Determine at least one first virtual character corresponding to the first type card and/or the second type card;
    在所述图形用户界面的第三区域展示所述至少一个第一虚拟角色的角色标识以及在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息。Displaying the character identification of the at least one first virtual character in a third area of the graphical user interface and displaying the association with the first type of card and/or the second type of card on the character identification. Default attribute information.
  3. 根据权利要求2所述的方法,其特征在于,所述预设属性信息包括与所述第二类型卡牌相关联的目标数值,所述目标数值用于表征使用对应第二类型卡牌需要消耗的目标虚拟资源的消耗量;所述在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息,还包括:The method of claim 2, wherein the preset attribute information includes a target value associated with the second type of card, and the target value is used to represent the consumption required to use the corresponding second type of card. consumption of target virtual resources; displaying preset attribute information associated with the first type of card and/or the second type of card on the character identification further includes:
    在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值。The target value of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  4. 根据权利要求3所述的方法,其特征在于,所述预设属性信息还包括第一使用状态信息;所述方法还包括:The method according to claim 3, characterized in that the preset attribute information also includes first usage status information; the method further includes:
    针对每张所述第二类型卡牌,基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息;For each second type card, determine the first use of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource. status information;
    所述在所述角色标识上展示与所述第一类型卡牌和/或所述第二类型卡牌相关联的预设属性信息,还包括:Displaying preset attribute information associated with the first type of card and/or the second type of card on the character identification further includes:
    在所述至少一个第一虚拟角色的角色标识上展示与所述第一虚拟角色对应的所述第二类型卡牌的所述目标数值和/或所述第一使用状态信息。The target value and/or the first usage status information of the second type card corresponding to the first virtual character is displayed on the character identification of the at least one first virtual character.
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, further comprising:
    响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能。In response to a triggering operation on the target character identification in the character identification, the target first virtual character corresponding to the target character identification releases the skill corresponding to the first type card and/or the second type card.
  6. 根据权利要求5所述的方法,其特征在于,所述响应于对所述角色标识中目标角色标识的触发操作,所述目标角色标识对应的目标第一虚拟角色释放与所述第一类型卡牌和/或所述第二类型卡牌对应的技能,包括:The method according to claim 5, characterized in that, in response to the triggering operation on the target role identification in the role identification, the target first virtual character corresponding to the target role identification is released and the first type of card is released. cards and/or skills corresponding to the second type of cards, including:
    响应于用户的第一触发操作,确定所述目标角色标识;In response to the user's first triggering operation, determine the target role identification;
    响应于所述用户的第二触发操作,确定所述第二触发操作的位置,以及所述位置预设范围内的至少一个第二虚拟角色,所述第二虚拟角色与所述第一虚拟角色属于不同阵营;In response to the user's second trigger operation, determine the location of the second trigger operation and at least one second virtual character within a preset range of the location, the second virtual character being the same as the first virtual character belong to different camps;
    所述目标角色标识对应的目标第一虚拟角色向所述第二虚拟角色释放与所述第一类型 卡牌和/或所述第二类型卡牌对应的技能。The target first virtual character corresponding to the target character identification releases the information related to the first type to the second virtual character. The skill corresponding to the card and/or the second type of card.
  7. 根据权利要求4所述的方法,其特征在于,所述第二类型卡牌的使用状态信息包括可使用或不可使用;The method according to claim 4, characterized in that the usage status information of the second type of card includes usable or unusable;
    所述基于所述第二类型卡牌对应的所述目标数值、以及所述目标虚拟资源的当前剩余量,确定该所述第二类型卡牌的第一使用状态信息,包括:Determining the first usage status information of the second type card based on the target value corresponding to the second type card and the current remaining amount of the target virtual resource includes:
    将所述第二类型卡牌对应的目标数值和所述当前剩余量进行比对;Compare the target value corresponding to the second type of card with the current remaining amount;
    响应于所述目标数值小于或者等于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为可使用;In response to the target value being less than or equal to the current remaining amount, determining that the usage status information of the second type of card is usable;
    响应于所述目标数值大于所述当前剩余量,确定所述第二类型卡牌的使用状态信息为不可使用。In response to the target value being greater than the current remaining amount, it is determined that the usage status information of the second type of card is unusable.
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7, further comprising:
    响应于达到预设更新条件,更新所述当前剩余量。In response to reaching the preset update condition, the current remaining amount is updated.
  9. 根据权利要求8所述的方法,其特征在于,所述响应于达到预设更新条件,更新所述当前剩余量,包括下述至少一种:The method according to claim 8, characterized in that, in response to reaching a preset update condition, updating the current remaining amount includes at least one of the following:
    在所述卡牌显示区域展示所述第一类型卡牌的情况下,响应于对所述第一类型卡牌的使用操作,确定与所述使用操作对应的第一更新值,并基于所述第一更新值更新所述当前剩余量;In the case where the first type of card is displayed in the card display area, in response to the use operation of the first type card, a first update value corresponding to the use operation is determined, and based on the The first update value updates the current remaining amount;
    响应于当前时刻到达预设更新时刻,基于与所述更新时刻对应的第二更新值更新所述当前剩余量;In response to the current time reaching the preset update time, updating the current remaining amount based on the second update value corresponding to the update time;
    响应于虚拟角色的当前状态达到预设状态,基于与所述预设状态对应的第三更新值更新所述当前剩余量。In response to the current state of the virtual character reaching a preset state, the current remaining amount is updated based on a third update value corresponding to the preset state.
  10. 根据权利要求1-9任一项所述的方法,其特征在于,所述将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌,包括:The method according to any one of claims 1 to 9, characterized in that said switching the first type of cards displayed in the second area to displaying the second type of cards includes:
    基于与各张第二类型卡牌对应的虚拟角色的游戏状态,确定与各张第二类型卡牌对应的第二使用状态信息;Based on the game status of the virtual character corresponding to each second type card, determine the second usage status information corresponding to each second type card;
    基于所述第二使用状态信息,确定各张第二类型卡牌的第二展示效果;Based on the second usage status information, determine the second display effect of each second type card;
    基于各张第二类型卡牌分别对应的第二展示效果,将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。Based on the second display effect corresponding to each second type card, the first type card displayed in the second area is switched to display the second type card.
  11. 根据权利要求10所述的方法,其特征在于,所述游戏状态包括下述至少一种:The method according to claim 10, characterized in that the game state includes at least one of the following:
    与所述虚拟角色对应的第二类型卡牌处于目标状态;所述第一目标状态指示对应第二类型卡牌预设游戏回合内无法使用、或者指示对应第二类型卡牌对应的技能效果在预设回合内被削弱预设程度。The second type of card corresponding to the virtual character is in a target state; the first target state indicates that the corresponding second type of card cannot be used within the preset game round, or indicates that the skill effect corresponding to the second type of card is in Be weakened to a preset degree within a preset round.
  12. 根据权利要求1-9任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-9, characterized in that the method further includes:
    响应于对任一虚拟角色的触发,在所述卡牌展示区域展示第一类型卡牌包括:将触发的虚拟角色对应的第一类型卡牌,在所述卡牌展示区域中突出展示;In response to the triggering of any virtual character, displaying the first type of card in the card display area includes: prominently displaying the first type of card corresponding to the triggered virtual character in the card display area;
    在所述卡牌展示区域展示第二类型卡牌包括:将触发的虚拟角色对应的第二类型卡牌,在所述卡牌展示区域中突出展示。 Displaying the second type of card in the card display area includes: prominently displaying the second type of card corresponding to the triggered virtual character in the card display area.
  13. 一种交互装置,其特征在于,所述装置包括:An interactive device, characterized in that the device includes:
    第一展示模块,用于在图形用户界面的第一区域展示至少部分游戏场景;A first display module, configured to display at least part of the game scene in the first area of the graphical user interface;
    第二展示模块,用于在所述图形用户界面的第二区域展示第一类型卡牌或者第二类型卡牌;所述第一类型卡牌和所述第二类型卡牌用于控制虚拟角色释放不同类型技能;The second display module is used to display the first type of cards or the second type of cards in the second area of the graphical user interface; the first type of cards and the second type of cards are used to control virtual characters. Release different types of skills;
    第三展示模块,用于所述图形用户界面中还展示有卡牌切换按钮,响应于所述卡牌切换按钮处于第一状态,在所述第二区域展示所述第一类型卡牌;A third display module, configured to also display a card switching button in the graphical user interface, and display the first type of card in the second area in response to the card switching button being in the first state;
    切换模块,用于响应于所述卡牌切换按钮的触发操作,将所述卡牌切换按钮切换至第二状态,并将所述第二区域中展示的第一类型卡牌切换为展示所述第二类型卡牌。a switching module, configured to switch the card switching button to a second state in response to the triggering operation of the card switching button, and switch the first type of card displayed in the second area to display the The second type of card.
  14. 一种计算机设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至12任一项所述的交互方法的步骤。A computer device, characterized in that it includes: a processor, a memory and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the connection between the processor and the memory is The machine-readable instructions are communicated through a bus, and when the machine-readable instructions are executed by the processor, the steps of the interactive method according to any one of claims 1 to 12 are performed.
  15. 一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行如权利要求1至12任一项所述的交互方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and the computer program executes the steps of the interactive method according to any one of claims 1 to 12 when run by a processor.
  16. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序/指令,所述计算机程序/指令被处理器执行时实现如权利要求1至12任一项所述的交互方法的步骤。 A computer program product, characterized in that the computer program product includes a computer program/instruction, and when the computer program/instruction is executed by a processor, the steps of the interactive method according to any one of claims 1 to 12 are implemented.
PCT/CN2023/080385 2022-04-15 2023-03-09 Interaction method and apparatus, computer device, and readable storage medium WO2023197788A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210396131.0A CN114879870A (en) 2022-04-15 2022-04-15 Interaction method and device, computer equipment and readable storage medium
CN202210396131.0 2022-04-15

Publications (1)

Publication Number Publication Date
WO2023197788A1 true WO2023197788A1 (en) 2023-10-19

Family

ID=82669101

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/080385 WO2023197788A1 (en) 2022-04-15 2023-03-09 Interaction method and apparatus, computer device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN114879870A (en)
WO (1) WO2023197788A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879870A (en) * 2022-04-15 2022-08-09 北京字跳网络技术有限公司 Interaction method and device, computer equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105597310A (en) * 2015-12-24 2016-05-25 网易(杭州)网络有限公司 Game control method and device
US20160279527A1 (en) * 2013-12-13 2016-09-29 Konami Digital Entertainment Co., Ltd. Information processing device, information processing system, program, and recording medium
CN109568950A (en) * 2018-11-30 2019-04-05 广州要玩娱乐网络技术股份有限公司 Game control method, storage medium and the terminal of the polygonal more technical ability of color
CN114327192A (en) * 2021-12-29 2022-04-12 网易(杭州)网络有限公司 Information browsing method, device and equipment
CN114879870A (en) * 2022-04-15 2022-08-09 北京字跳网络技术有限公司 Interaction method and device, computer equipment and readable storage medium

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6284084B2 (en) * 2015-07-15 2018-02-28 株式会社コナミデジタルエンタテインメント GAME DEVICE AND PROGRAM
JP6673876B2 (en) * 2017-07-10 2020-03-25 株式会社バンダイ Game device, game system and program
JP7194781B2 (en) * 2019-11-11 2022-12-22 グリー株式会社 Program, information processing device, and control method for information processing device
CN111265849B (en) * 2020-01-15 2023-04-07 网易(杭州)网络有限公司 Interaction method and device for virtual cards
JP7114643B2 (en) * 2020-03-19 2022-08-08 株式会社バンダイ Programs, Terminals, and Game Systems
CN111643890A (en) * 2020-06-10 2020-09-11 网易(杭州)网络有限公司 Card game interaction method and device, electronic equipment and storage medium
CN111729291B (en) * 2020-06-12 2024-02-09 网易(杭州)网络有限公司 Interaction method, device, electronic equipment and storage medium
JP6953650B1 (en) * 2021-07-28 2021-10-27 株式会社あかつき Game system, program and information processing method
CN113827970A (en) * 2021-09-28 2021-12-24 网易(杭州)网络有限公司 Information display method and device, computer readable storage medium and electronic equipment
CN114307138B (en) * 2021-12-28 2023-09-26 北京字跳网络技术有限公司 Interaction method and device based on card, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160279527A1 (en) * 2013-12-13 2016-09-29 Konami Digital Entertainment Co., Ltd. Information processing device, information processing system, program, and recording medium
CN105597310A (en) * 2015-12-24 2016-05-25 网易(杭州)网络有限公司 Game control method and device
CN109432766A (en) * 2015-12-24 2019-03-08 网易(杭州)网络有限公司 A kind of game control method and device
CN109568950A (en) * 2018-11-30 2019-04-05 广州要玩娱乐网络技术股份有限公司 Game control method, storage medium and the terminal of the polygonal more technical ability of color
CN114327192A (en) * 2021-12-29 2022-04-12 网易(杭州)网络有限公司 Information browsing method, device and equipment
CN114879870A (en) * 2022-04-15 2022-08-09 北京字跳网络技术有限公司 Interaction method and device, computer equipment and readable storage medium

Also Published As

Publication number Publication date
CN114879870A (en) 2022-08-09

Similar Documents

Publication Publication Date Title
CN110812838B (en) Virtual unit control method and device in game and electronic equipment
CN107930122B (en) Information processing method, device and storage medium
US20220314116A1 (en) Object display method and apparatus, storage medium, and electronic device
US11810234B2 (en) Method and apparatus for processing avatar usage data, device, and storage medium
WO2022037529A1 (en) Method and apparatus for controlling virtual object, and terminal and storage medium
WO2023138192A1 (en) Method for controlling virtual object to pick up virtual prop, and terminal and storage medium
WO2023197788A1 (en) Interaction method and apparatus, computer device, and readable storage medium
CN111803932A (en) Skill release method for virtual character in game, terminal and storage medium
TWI793838B (en) Method, device, apparatus, medium and product for selecting interactive mode for virtual object
WO2023197790A1 (en) Map display method and apparatus, and electronic device and storage medium
CN113559520A (en) Interactive control method and device in game, electronic equipment and readable storage medium
WO2023138175A1 (en) Card placing method and apparatus, device, storage medium and program product
WO2023082957A1 (en) Interaction control method and apparatus, and computer storage medium
TW202339831A (en) Skill release method, device, computer apparatus, and storage medium
CN115814399A (en) Interaction control method and device, computer equipment and readable storage medium
JP7404541B2 (en) Virtual object control method, device, computer device, and computer program
CN114225380A (en) Interactive control method and device in game, computer equipment and storage medium
CN113941152A (en) Virtual object control method and device, electronic equipment and storage medium
CN113893527A (en) Interaction control method and device, electronic equipment and storage medium
CN114217711A (en) Virtual role control method, terminal, electronic device and storage medium
WO2023193605A1 (en) Virtual item processing method and apparatus, terminal, medium and program product
US20240033632A1 (en) Interactive control method, apparatus, computer device, and readable storage medium
WO2024060924A1 (en) Interaction processing method and apparatus for virtual scene, and electronic device and storage medium
CN112546638B (en) Virtual role switching method and device, electronic equipment and storage medium
CN113476825B (en) Role control method, role control device, equipment and medium in game

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23787436

Country of ref document: EP

Kind code of ref document: A1