CN113797540A - Card prompting voice determination method and device, computer equipment and medium - Google Patents

Card prompting voice determination method and device, computer equipment and medium Download PDF

Info

Publication number
CN113797540A
CN113797540A CN202010532116.5A CN202010532116A CN113797540A CN 113797540 A CN113797540 A CN 113797540A CN 202010532116 A CN202010532116 A CN 202010532116A CN 113797540 A CN113797540 A CN 113797540A
Authority
CN
China
Prior art keywords
voice
target
target card
card
prompt
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010532116.5A
Other languages
Chinese (zh)
Inventor
芦静
肖杰
段欣如
冯启迪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010532116.5A priority Critical patent/CN113797540A/en
Publication of CN113797540A publication Critical patent/CN113797540A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/54Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
    • 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

Abstract

The application provides a card prompt voice determination method, a card prompt voice determination device, computer equipment and a medium, wherein the method comprises the following steps: displaying a game preparation interface under a target account on first terminal equipment; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface; the first terminal equipment responds to the triggering operation aiming at the voice input key, starts a voice input function and records reference voice in the process of starting the voice input function; when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment stores the reference voice as a prompt voice of the target card; and the second terminal equipment responds to the release operation of the target cards in the game fighting scene under the target account number, controls to release the skills corresponding to the target cards and plays the prompt voice of the target cards.

Description

Card prompting voice determination method and device, computer equipment and medium
Technical Field
The application relates to the field of card games, in particular to a card prompt voice determination method, a card prompt voice determination device, computer equipment and a medium.
Background
At present, with rapid development and innovation of network technology, terminal devices that occupy a place in daily life of people are also continuously updated, and the terminal devices have more bearing capacity, so that more and more network games can be applied to the terminal devices, wherein card games are one of the network games.
In the battle process of the card game, when a player releases a card, an animation corresponding to the released card and a sound effect corresponding to the released card are played in a game scene, however, the number of the released cards in the game process is too much, and the player can hardly determine whether the card is successfully released.
Disclosure of Invention
In view of the above, an object of the present application is to provide a card prompting voice determining method, apparatus, computer device and medium, which are used to solve the problem in the prior art that the accuracy of determining whether a card is released successfully is improved.
In a first aspect, an embodiment of the present application provides a card prompt voice determining method, including:
displaying a game preparation interface under a target account on first terminal equipment; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface;
the first terminal equipment responds to the triggering operation aiming at the voice input key, starts a voice input function and records reference voice in the process of starting the voice input function;
when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment stores the reference voice as a prompt voice of the target card;
and the second terminal equipment responds to the release operation of the target cards in the game fighting scene under the target account number, controls to release the skills corresponding to the target cards and plays the prompt voice of the target cards.
Optionally, the first terminal device and the second terminal device are the same device, or the first terminal device and the second terminal device are different devices.
Optionally, the displaying, on the first terminal device, a game preparation interface under the target account includes:
displaying a game preparation interface under a target account on the first terminal equipment, and prompting content corresponding to the target card; wherein the prompt content is used for guiding a player to enter the reference voice corresponding to the prompt content.
Optionally, when the reference voice meets a preset user-defined voice condition corresponding to the target card, storing the reference voice as a prompt voice of the target card, including:
and when the similarity of the reference voice and the prompt content corresponding to the target card meets a similarity threshold, storing the reference voice as the prompt voice of the target card.
Optionally, when any one of the following conditions is met, determining that the similarity of the reference voice and the prompt content corresponding to the target card meets a similarity threshold:
the voice similarity between the reference voice and the default prompt voice of the target card meets a similarity threshold; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the text prompt content of the target card; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the voice recognition result of the default prompt voice of the target card.
Optionally, the method further includes:
factor extraction is carried out on the reference voice to obtain each reference phoneme in the reference voice;
respectively calculating the matching probability of each reference phoneme and the reference phoneme in the preset self-defined speech condition;
and determining whether the reference voice meets a preset self-defined voice condition corresponding to the target card according to the matching probability of each reference phoneme.
Optionally, determining whether the reference speech satisfies a preset custom speech condition corresponding to the target card according to the matching probability of each reference phoneme includes:
and determining whether the reference voice meets a preset user-defined voice condition corresponding to the target card according to the matching probability of the reference phoneme with the lowest matching probability in the reference voice.
Optionally, when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, including:
when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device displays a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface;
the first terminal equipment responds to touch operation of the key used for the reference voice, and stores the reference voice as the prompt voice of the target card;
or the first terminal equipment responds to the touch operation of the default voice use key, and stores default prompt voice as the prompt voice of the target card.
Optionally, at least one sound-changing key is displayed in the game preparation interface;
when the reference voice is determined to meet a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, and the method includes:
and when the reference voice meets the preset user-defined voice condition corresponding to the target card, the first terminal equipment responds to the touch operation aiming at the voice change key, and stores the reference voice subjected to voice change by adopting the voice change strategy corresponding to the voice change key as the prompt voice of the target card.
Optionally, when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, including:
and when the reference voice is determined to meet a preset user-defined voice condition corresponding to the target card, the first terminal equipment changes the voice of the reference voice according to a preset voice changing strategy, and stores the changed voice as a prompt voice of the target card.
Optionally, the first terminal device starts a voice entry function in response to a trigger operation for the voice entry key, and records a reference voice in a process of starting the voice entry function, including:
the first terminal equipment responds to the triggering operation aiming at the voice recording key, starts a voice recording function with a first preset time length and records reference voice in the process of starting the voice recording function; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card.
Optionally, when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, including:
the first terminal equipment intercepts invalid voice segments which are not recorded with player voices from the reference voice to obtain valid voice segments;
and when the effective voice fragment meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment stores the effective voice fragment as a prompt voice of the target card.
Optionally, the duration of the effective voice segment is determined according to the playing duration of the skill animation corresponding to the target card.
Optionally, when the valid voice segment meets a preset user-defined voice condition corresponding to the target card, the first terminal device stores the valid voice segment as a prompt voice of the target card, including:
when the effective voice fragment meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment zooms the effective voice fragment so as to adjust the playing time length of the effective voice fragment to a first preset time length; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card;
and the first terminal equipment stores the effective voice segment with the playing time adjusted to the first preset time as the prompt voice of the target card.
Optionally, the step of the second terminal device responding to the release operation of the target card in the game battle scene under the target account, controlling to release the skill corresponding to the target card, and playing the prompt voice of the target card includes:
the second terminal equipment responds to the selection operation of cards in the game fighting scene under the target account number, and determines target cards from the at least one cards for releasing according to the positions of touch points of the selection operation;
and the second terminal equipment responds to the release operation aiming at the target card, releases the skill corresponding to the target card to the position of the touch point of the release operation, and plays the prompt voice which is input by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the second terminal device responds to a release operation for the target card, releases the skill corresponding to the target card to a position where a touch point of the release operation is located, and plays a prompt voice which is input by a player in advance for the target card and meets a preset custom voice condition, including:
the second terminal equipment responds to the release operation aiming at the target card, and obtains the playing time length of the skill animation of the target card and the playing time length of the prompt voice of the target card;
and the second terminal equipment controls playing of the skill animation corresponding to the target card to be released to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
Optionally, the at least one card for release is located in the hand area; the card hand area is used for displaying cards of a target account number in an effective state in the current game;
or, the at least one card for release is located in a combat zone; the combat zone displays cards which are used and in an effective state for playing the current game;
or, the at least one card for release is located in the battle area and the hand area; the card area is used for displaying cards in an effective state owned by a target account in the current game, and cards which are used for playing the current game and are in the effective state are displayed in the battle area.
In a second aspect, an embodiment of the present application provides a card using method, including:
the second terminal equipment responds to the selection operation of cards in a game fighting scene under the target account number, and determines target cards from the at least one cards for releasing according to the positions of touch points of the selection operation; at least one card for release is displayed in the game battle scene;
and the second terminal equipment responds to the release operation aiming at the target card, releases the skill corresponding to the target card to the position of the touch point of the release operation, and plays the prompt voice which is input by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the second terminal device responds to a release operation for the target card, releases the skill corresponding to the target card to a position where a touch point of the release operation is located, and plays a prompt voice which is input by a player in advance for the target card and meets a preset custom voice condition, including:
the second terminal equipment responds to the release operation aiming at the target card, and obtains the playing time length of the skill animation of the target card and the playing time length of the prompt voice of the target card;
and the second terminal equipment controls playing of the skill animation corresponding to the target card to be released to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
In a third aspect, an embodiment of the present application provides a card using method, including:
the second terminal equipment responds to the dragging operation of the cards in a game fighting scene under the target account, determines the target cards from the at least one cards for releasing in the card hand area according to the position of the touch point of the dragging operation, displays a skill releasing connection line in the graphical user interface, and displays prompt information indicating that the target cards are in a state to be released in the graphical user interface; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the dragging operation; the card hand area is used for displaying cards of a target account number in an effective state in the current game;
the second terminal equipment responds to the release operation aiming at the target card, and obtains the playing time length of the skill animation of the target card and the playing time length of the prompt voice of the target card; and the second terminal equipment controls playing to release the skill animation corresponding to the target card to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
In a fourth aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, performs the steps of the above method.
The card prompting voice determining method provided by the embodiment of the application comprises the steps that firstly, a game preparation interface under a target account is displayed on first terminal equipment; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface; then, the first terminal equipment responds to the triggering operation aiming at the voice input key, starts a voice input function and records reference voice in the process of starting the voice input function; secondly, when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card; and finally, the second terminal equipment responds to the release operation of the target cards in the game fighting scene under the target account number, controls to release the skills corresponding to the target cards and plays the prompt voice of the target cards.
In a certain implementation manner, according to the method provided by the application, a player can record prompt voices meeting preset custom conditions for target cards in a game preparation interface, and in a game battle interface, the prompt voices corresponding to the target cards can be played in response to release operations of the target cards. The input of the prompt voice is realized by the player, so the prompt voice played in the game battle scene is easily recognized by the player, and the player can determine that the target cards are released after hearing the played prompt voice, thereby improving the accuracy of determining the successful release of the target cards by the player.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a method for prompting a card with voice according to an embodiment of the present application;
FIG. 2 is a schematic illustration of a first game preparation interface provided by an embodiment of the present application;
FIG. 3a is a schematic illustration of a second game preparation interface provided by an embodiment of the present application;
FIG. 3b is a schematic view of a third game preparation interface provided in an embodiment of the present application;
FIG. 4 is a schematic illustration of a fourth game preparation interface provided by an embodiment of the present application;
FIG. 5 is a schematic illustration of a fifth game preparation interface provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a first graphical user interface provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a second graphical user interface provided by an embodiment of the present application;
FIG. 8a is a schematic illustration of a third game preparation interface provided in accordance with an embodiment of the present application;
FIG. 8b is a schematic view of a fourth game preparation interface provided in accordance with an embodiment of the present application;
fig. 9 is a schematic structural diagram of a card prompting voice device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
Nowadays, in a card game, when a player successfully releases a card in a battle process, an animation of the released card and a sound effect of the released card are played in a game scene (mainly a game battle scene). Since the sound effect of the card is the default sound effect (i.e. the sound effect played by all players using the card is the same) in the prior art, the player cannot determine whether the own card is released by releasing the sound effect of the card after using the card. If the game opponent releases the same cards, the player mistakenly thinks that the cards of the player are successfully released after hearing the card release sound effect of the game opponent; or other players around the player play the same game and release the same cards, and the player mistakenly thinks that the own cards are released successfully after hearing the card release sound effect of the surrounding players. Particularly, in a game fighting scene of comparing and expecting reflecting speed, a player needs to continuously release cards, at the moment, the player usually determines whether the card release is successful through a card release sound effect, under certain conditions, the player can release a next card only after the current card is successfully released, and if the previous card is not successfully released, the next card is released, so that the game cannot be normally carried out. When all the card sound effects are the same, the player cannot effectively distinguish whether the cards are successfully released through the sound effects, and further operation errors or slow game progress are caused to the player.
In view of the above situation, an embodiment of the present application provides a method for determining a card prompting voice, where the method is not only applicable to a terminal device capable of performing independent computation, but also applicable to a terminal device in a cloud game scene where the terminal device needs to perform independent computation, as shown in fig. 1, and includes the following steps:
s101, displaying a game preparation interface under a target account on first terminal equipment; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface;
s102, the first terminal equipment responds to a trigger operation aiming at a voice recording key, starts a voice recording function and records reference voice in the process of starting the voice recording function;
s103, when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card;
and S104, the second terminal responds to the release operation of the target cards in the game fighting scene under the target account number, controls the skills corresponding to the target cards to be released, and plays the prompt voice of the target cards.
The terminal device mentioned in the present application mainly refers to an intelligent device for displaying a game picture and capable of receiving a control instruction issued by a player to a virtual character, and the terminal device may include any one of the following devices: smart phones, tablet computers, notebook computers, desktop computers, and the like. The terminal device may include a device capable of calculating the control instruction and a device incapable of calculating the control instruction, and after receiving the control instruction input by the user, the device capable of calculating the control instruction calculates the control instruction and then controls the virtual character according to the control instruction; the device which can not calculate the control command can be matched with the cloud server to realize cloud games, the cloud games are based on a cloud computing game mode, all games are operated at the cloud server side in an operation mode of the cloud games, and the cloud server compresses rendered game pictures and transmits the compressed game pictures to the terminal device through the network.
The graphical user interface is an interface for displaying a game screen on a display screen of the terminal device. The game preparation interface refers to an interface before entering a game fighting scene, and target cards and voice input keys for releasing in the game fighting scene are displayed in the game preparation interface. The game battle scene is a virtual game space which bears virtual characters in the game process, and the virtual characters can be controlled by released cards to perform skill release actions in the game battle scene. The target cards are cards that can be released in a game battle scene. The voice input key is used for controlling the input of voice. The portion of the game play scene displayed in the graphical user interface is a picture in the game play scene that is viewable at a specified perspective (e.g., the perspective of the virtual character's glasses controlled by the player).
In the above step S101, the first terminal device is the terminal device currently controlled by the player. The target account is the account the player is currently logged in to in the first terminal device.
After a player logs in a target account in a first terminal device, a game preparation interface corresponding to the target account is displayed in a graphical user interface of the first terminal device. Only in the game preparation interface corresponding to the target account, the steps S102-S103 can be executed to input the prompt voice of the target card. And after step S103, step S104 is executed to complete the playing of the prompt voice.
In the above step S102, the trigger operation may be a click operation for the voice entry key or a long-press operation for the voice entry key. The long-press operation means that the duration of pressing the voice input key by the player exceeds the preset duration, and the preset duration is set manually. The voice recording function refers to a microphone function in the terminal device. The reference voice refers to a voice recorded in the process of opening the microphone of the terminal device. The preset custom voice condition is a condition for judging whether the reference voice can become the prompt voice of the target card, and the preset custom voice condition is preset. The prompt voice is the voice played when the target card is released in the game battle scene.
In specific implementation, after the first terminal device receives a trigger operation for a voice entry key, the first terminal device may start a voice entry function of the terminal device, that is, turn on a microphone function of the first terminal device, and record a sound emitted by a player in a process of turning on the microphone, where the recorded sound emitted by the player is a reference sound.
In step S103, the reference voice may or may not correspond to the target card, and therefore, in order to obtain the reference voice corresponding to the target card, the reference voice needs to be verified. If the first terminal device is a device which can calculate the control instruction, the verification of the reference voice is realized in the first terminal device, and if the first terminal device is a device which cannot calculate the control instruction, the verification of the reference voice is realized in the cloud server. In the process of checking the reference voice, judging the reference voice according to a preset self-defined voice condition corresponding to the target card, and if the reference voice meets the preset self-defined voice condition corresponding to the target card, storing the reference voice as a prompt voice of the target card; and if the reference voice does not meet the preset self-defined voice condition corresponding to the target card, the voice input is required to be carried out again, namely, the game preparation interface is displayed again in the graphical user interface. After the prompt voice is successfully recorded, in order to facilitate that a player can play the prompt voice on different terminal devices, a storage location of the prompt voice may be a cloud server corresponding to the target account, or may be the first terminal device. The condition that the prompt voice is stored in the first terminal device is that a player logs in a target account in the first terminal device, the player logs in a new first terminal device, and the first terminal device can acquire the prompt voice of the target card from the cloud server according to the target account so as to store the prompt voice.
In the above step S104, the second terminal device is the same device as the first terminal device, or the second terminal device is a different device from the first terminal device. The release operation may be a drag operation, or a click operation, or the like.
In specific implementation, the second terminal device is divided into a device capable of calculating the control command and a device incapable of calculating the control command, so that the target card is released in two modes.
The first target card releasing mode is that when the second terminal device is a device capable of calculating the control command, a player logs in a target account in the second terminal device, a game fighting scene corresponding to the target account is displayed in the second terminal device, cards capable of being released exist in the game fighting scene, the player selects one card from the cards capable of being released as a target card, the player releases the target card, the second terminal device generates a control command for playing the animation of the skill corresponding to the release of the target card, the animation of the skill corresponding to the target card is played in the game fighting scene according to the control command, and prompt voice corresponding to the target card is played. After the prompt voice is played, the player can determine that the target card is successfully released according to the prompt voice. Because the prompting voice is entered by the player himself, the player will be more familiar with the prompting voice, and therefore, it will be more accurate for the player to determine whether the target card is successfully released by the prompting voice.
A second target card releasing mode, when the second terminal device is a device which cannot calculate the control command per se, a player logs in a target account in the second terminal device, a game fighting scene corresponding to the target account is displayed in the second terminal device, cards which can be released exist in the game fighting scene, the player selects one card from the cards which can be released as a target card, the player releases the target card, the second terminal device sends a skill releasing signal to the cloud server, the cloud service generates a control command for playing an animation representing the skill release of the target card in the game fighting scene according to the skill releasing signal, the cloud server sends the control command to the second terminal device, and the second terminal device plays the animation of the skill corresponding to the target card in the game fighting scene according to the control command, and playing a prompt voice corresponding to the target card. After the prompt voice is played, the player can determine that the target card is successfully released according to the prompt voice. Because the prompting voice is entered by the player himself, the player will be more familiar with the prompting voice, and therefore, it will be more accurate for the player to determine whether the target card is successfully released by the prompting voice.
According to the scheme of the application, through the steps of the steps S101-S103, the player can record the prompt voice meeting the preset custom condition for the target card in the game preparation interface, and in the game fighting interface, the prompt voice corresponding to the target card can be played in response to the release operation of the target card. The input of the prompt voice is realized by the player, so the prompt voice played in the game battle scene is easily recognized by the player, and the player can determine that the target cards are released after hearing the played prompt voice, thereby improving the accuracy of determining the successful release of the target cards by the player.
In a card game, there are many cards, and different cards may correspond to different voices, so that, in order to reduce the failure of the player to input the prompt voice of the target card, it is necessary to display the prompt content corresponding to the target card, and step S101 includes: further comprising:
step 1011, displaying a game preparation interface under the target account number on the first terminal device, and prompting the content corresponding to the target card; wherein the prompt content is used for guiding the player to enter the reference voice corresponding to the prompt content.
In the above step 1011, the prompt content is used to guide the player to enter a reference voice corresponding to the prompt content, and the prompt content may include any one or more of the following: default prompt voice of the target card and text prompt content of the target card. The default prompting voice of the target card is the standard voice meeting the preset self-defined voice condition corresponding to the target card, and the text prompting content of the target card is the text content meeting the preset self-defined voice condition corresponding to the target card.
Prompting the prompt content corresponding to the target card can comprise a plurality of prompting modes:
in the first prompt mode, a default prompt voice playing key is displayed in the game preparation interface, and the default prompt voice corresponding to the target card is played in response to the triggering operation of the player on the default prompt voice playing key. After listening to the default prompt voice, the player speaks the voice consistent with the default prompt voice in the process of starting the voice recording function, and then recording of the reference voice is completed. By the method, the prompt content is prompted, so that the user can speak the reference voice which is more in line with the preset custom voice condition corresponding to the target card, and the input accuracy of the prompt voice is improved.
In the second prompting mode, the game preparation interface displays the text prompting content corresponding to the target card (as shown in fig. 2, the text prompting content is displayed in the game preparation interface as "slow down" and the recording key for controlling the start of the voice recording function), so that the player reads out the voice consistent with the text prompting content in the process of starting the voice recording function, and further completes the recording of the reference voice. By the method, the prompt content is prompted, so that the user can speak the reference voice which is more in line with the preset custom voice condition corresponding to the target card, and the input accuracy of the prompt voice is improved.
And a third prompting mode, in which a default prompting voice playing key is displayed in the game preparation interface, and in response to a triggering operation of the player on the default prompting voice playing key, text prompting contents corresponding to the target cards are displayed in the game preparation interface, and default prompting voices corresponding to the target cards are played (as shown in fig. 3a, the default prompting voice playing key and the recording key are displayed in the game preparation interface, and when the player triggers the default prompting voice playing key, as shown in fig. 3b, the default prompting voice playing key and the recording key are displayed in the game preparation interface, and the text prompting contents are "faint", and default prompting voices (not shown in the figure) corresponding to "faint" can also be played). And after the player listens the default prompt voice and watches the text prompt content, the player speaks the voice consistent with the default prompt voice and the voice consistent with the watched text prompt content in the process of starting the voice input function, and then the recording of the reference voice is completed. By the method, the prompt content is prompted, so that the user can speak the reference voice which is more in line with the preset custom voice condition corresponding to the target card, and the input accuracy of the prompt voice is improved.
When judging whether the reference voice can be stored as the prompt voice of the target card, the judgment is determined according to the preset self-defined voice condition of the target card, and the general preset self-defined voice condition refers to the similarity between the reference voice and the prompt content of the target card, so that when the step of determining that the reference voice meets the preset self-defined voice condition corresponding to the target card, the reference voice is stored as the prompt voice of the target card, and the method comprises the following steps:
and step 1022, when the similarity of the reference voice and the prompt content corresponding to the target card meets the similarity threshold, storing the reference voice as the prompt voice of the target card.
The similarity of the prompt contents corresponding to the target card and the reference voice can be calculated through various calculation methods, and therefore, step 1022 includes:
step 10221, if the voice similarity between the reference voice and the default prompt voice of the target card meets the similarity threshold, the first terminal device stores the reference voice as the prompt voice of the target card; or the like, or, alternatively,
step 10222, if it is determined that the speech recognition result of the reference speech is the same as the text prompt content of the target card, the first terminal device stores the reference speech as the prompt speech of the target card; or the like, or, alternatively,
step 10223, if it is determined that the voice recognition result of the reference voice is the same as the voice recognition result of the default prompt voice of the target card, the first terminal device stores the reference voice as the prompt voice of the target card.
In the step 10221, a similarity calculation may be performed using the sound frequency of the reference voice and the sound frequency of the default prompt voice of the target card, and if the similarity threshold between the sound frequency of the reference voice and the sound frequency of the default prompt voice of the target card exceeds a preset threshold, the reference voice is stored as the prompt voice of the target card.
In the step 10222, the speech recognition result may be a text into which a speech is converted by a speech recognition algorithm.
And after the reference voice is converted into a voice recognition result through a voice recognition algorithm, comparing the voice recognition result of the reference voice with the text prompt content of the target card, and if the voice recognition result is the same as the text prompt content, indicating that the reference voice recorded by the player is correct, so that the reference voice is stored as the prompt voice of the target card.
In the step 10223, the reference voice and the default prompt voice are respectively converted into words by a voice recognition algorithm to obtain a voice recognition result of the reference voice and a voice recognition result of the default prompt voice, the voice recognition result of the reference voice is compared with the voice recognition result of the default prompt voice, and if the voice recognition result of the reference voice is the same as the voice recognition result of the default prompt voice, the reference voice recorded by the player is correct, so the reference voice is stored as the prompt voice of the target card.
The similarity of the prompt contents corresponding to the reference voice and the target card can be calculated by the following method, including:
step 10224, extracting phonemes from the reference speech to obtain each reference phoneme in the reference speech;
step 10225, calculating the matching probability of each reference phoneme and a standard phoneme in a preset custom speech condition;
step 10226, determining whether the reference speech satisfies a preset custom speech condition corresponding to the target card according to the matching probability of each reference phoneme.
In the step 10224, the phoneme is the smallest phonetic unit (e.g. a, b, c, d, etc. in the pinyin) divided according to the natural attributes of the speech.
When the method is specifically implemented, phoneme extraction is carried out on the reference speech by utilizing a phoneme recognition algorithm, and each reference phoneme in the reference speech is extracted.
For example, the reference speech is "pronunciation", and the following four phonemes "fayin" can be extracted from the reference speech by using a phoneme recognition algorithm, and the four phonemes are the four reference phonemes of the reference speech.
In step 10225, the phone number may be extracted from the default prompt voice corresponding to the target card by a phone recognition algorithm. The match probability may be the similarity between two phonemes.
In particular, for each reference phoneme, a trained acoustic probability model is used to calculate the matching probability of the reference phoneme and each standard phoneme.
For example, the reference speech is "dayin", the standard phoneme in the preset custom speech condition is "fayin", the phoneme "d" is calculated to have a matching probability with four standard phonemes "f", "a", "y" and "in", respectively, the matching probability of "d" and "f" is 10%, the matching probability of "d" and "a" is 5%, the matching probability of "d" and "y" is 20%, the matching probability of "d" and "in" is 1%, and similarly, the matching probabilities of "a" and "f", "a", "y" and "in", respectively, the matching probabilities of "y" and "a", "y" and "in" four standard phonemes, and the matching probabilities of "in" and "f", "a", "y" and "in" respectively, and "a", "y" and "in" respectively, are also calculated.
The acoustic probability model is obtained by training through the following steps:
acquiring a phoneme training sample set; wherein, the phoneme training sample set comprises at least one phoneme training sample;
and aiming at each phoneme training sample, training the phoneme in the sample.
In the step 10226, it is determined whether the reference speech satisfies the predetermined custom speech condition corresponding to the target card according to the matching probability of each reference phoneme.
Specifically, step 10226 includes:
and step 102261, determining whether the reference voice meets the preset self-defined voice condition corresponding to the target card according to the matching probability of the reference phoneme with the lowest matching probability in the reference voice.
In the step 102261, the culture probability of the reference phoneme with the lowest matching probability in the reference speech is used as the reference speech to determine whether the reference speech satisfies the preset customized speech condition corresponding to the target card. The preset custom voice condition can be a preset matching probability, and when the matching probability of the reference phoneme with the lowest matching probability in the reference voice is smaller than the preset matching probability, the reference voice does not meet the preset custom voice condition, and the reference voice cannot be used as the prompt voice of the target card; and when the matching probability of the reference phoneme with the lowest matching probability in the reference voice exceeds the preset matching probability, the reference voice meets the preset self-defined voice condition, and the reference voice can be used as the prompt voice of the target card.
After the player enters the reference voice, the user may listen to the reference voice and the default prompt voice again, and use the one with better listening trial effect as the prompt voice, so step S103 includes:
step 1031, when the reference voice meets a preset self-defined voice condition corresponding to the target card, the first terminal device displays a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface;
step 1032, the first terminal device responds to the touch operation of the key used for the reference voice, and stores the reference voice as a prompt voice of the target card;
step 1033, or the first terminal device responds to the touch operation of the key used for the default voice, and determines the default prompt voice as the prompt voice of the target card.
In the above step 1031, the default voice use button may be used to store the default prompt voice of the target card as the prompt voice played when the target card is released in the game battle scene. The reference voice use button may be used to store the reference voice of the target card as a prompt voice played when the target card is released in a game battle scene.
In specific implementation, when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device may simultaneously display a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface. The player can determine any voice in the default prompting voice and the reference voice as the prompting voice played when the target card is released in the game fighting scene. Displaying both the default voice use button and the reference voice use button (as shown in fig. 4) allows the player more options.
In steps 1032 and 1033, the default prompt voice is a standard voice meeting the preset customized voice condition corresponding to the target card.
After the player performs touch operation on the reference voice use key, the reference voice can be stored as the prompt voice of the target card; or after the player performs touch operation on the default voice use key, the default prompt voice is determined to be the prompt voice of the target card.
In order to increase the playability of the game and the interest of the game, the reference voice recorded by the player can be subjected to sound change, and at least one sound change key is displayed in the game preparation interface (as shown in fig. 5); step S103, comprising:
step 1034, when the reference voice is determined to meet the preset user-defined voice condition corresponding to the target card, the first terminal device responds to the touch operation aiming at the voice change key, and stores the reference voice which is subjected to voice change by adopting the voice change strategy corresponding to the voice change key as the prompt voice of the target card.
In step 1034, the voice-change key may convert the original tone of the reference voice into a different tone through a voice-change strategy. The voicing strategy may be to convert the timbre of the sound. Different sound changing keys correspond to different sound changing strategies. The timbre may comprise any one of the following timbres: fairy tone, monster tone, mechanical tone, ghost tone, and the like.
In specific implementation, if the first terminal device currently used by the player is a device capable of calculating the control instruction, the player performs touch operation on the sound change key under the condition that the first terminal device determines that the reference voice meets a preset self-defined voice condition corresponding to the target card, the first terminal device controls the reference voice to change the sound according to a sound change strategy corresponding to the sound change key, and stores the sound changed reference voice as the prompt voice of the target card. Before the reference voice is stored as the prompt voice, the reference voice can be subjected to sound change, so that the interest of the game is improved, and the playability of the game is improved.
If the first terminal device used by the player at present is a device which cannot calculate the control instruction, under the condition that the reference voice meets the preset user-defined voice condition corresponding to the target card, the player can perform touch operation on the sound change key, the first terminal device can send a sound change signal to the cloud server, the cloud server can generate a corresponding sound change strategy according to the sound change signal and send the sound change strategy to the first terminal device, the first terminal device can change the sound of the reference voice according to the sound change strategy, and the sound changed reference voice is stored as the prompt voice of the target card. Before the reference voice is stored as the prompt voice, the reference voice can be subjected to sound change, so that the interest of the game is improved, and the playability of the game is improved.
The present application further provides another embodiment, each card in the card game may have a corresponding virtual character, so that when changing the sound for the reference voice, the sound can be changed according to the tone of the virtual character corresponding to the card, and step S103 includes:
and 1035, when the reference voice is determined to meet the preset self-defined voice condition corresponding to the target card, changing the voice of the reference voice according to a preset voice changing strategy by the first terminal device, and storing the voice-changed reference voice as the prompt voice of the target card.
In step 1035, the preset voicing strategy is a different timbre sound than the default prompt voice in the preset custom voice condition.
In specific implementation, when the reference voice meets the preset user-defined voice condition corresponding to the target card, the first terminal device changes the voice of the reference voice according to a preset voice changing strategy, and stores the changed voice as the prompt voice of the target card.
More specifically, step 1035 includes:
step 10351, when the reference voice is determined to meet the preset self-defined voice condition corresponding to the target card, the first terminal device changes the voice of the reference voice according to the voice change strategy corresponding to the target card, and stores the changed voice as the prompt voice of the target card.
In step 10351, the sound change strategy corresponding to the target card can adjust the silver color of the reference voice to the tone color of the virtual character represented by the target card.
In specific implementation, when the reference voice meets the preset user-defined voice condition corresponding to the target card, the first terminal device changes the voice of the reference voice according to the voice changing strategy corresponding to the target card, and stores the changed voice as the prompt voice of the target card. The stored prompt voice is matched with the target card better, so that the user can determine that the target card is released successfully more easily.
When the reference voice is recorded, the voice recording function is not always on, and therefore, step S102 includes:
step 1023, the first terminal equipment responds to the trigger operation aiming at the voice input key, starts the voice input function with a first preset time length, and records reference voice in the process of starting the voice input function; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card.
In step 1023, the first predetermined time length is determined according to the playing time length of the skill animation corresponding to the target card, and the playing time length of the skill animation corresponding to the target card refers to the time length consumed for playing the skill animation in the game scene.
During specific implementation, after a user triggers a voice input key of the first terminal device, the first terminal device can open the voice input function, the voice input function can be closed after the first preset duration of the voice input function is opened, and the voice input by the first terminal device is the reference voice in the first preset duration from the opening of the voice input function to the closing of the voice input function. The duration of the reference voice is the same as the playing duration of the skill animation corresponding to the target card, and when the target card is released in a game scene, the skill animation corresponding to the target card and the prompt voice corresponding to the target card can be played at the same time to finish, so that the accuracy of the player in determining the success release of the target card can be improved.
The present application further provides an embodiment that the reference voice entered by the player may have an invalid voice (e.g. blank voice), so that it is necessary to intercept the valid voice from the voice entered by the player, and step S103 includes:
step 1033, the first terminal device intercepts an invalid voice segment from the reference voice, where the player voice is not recorded, to obtain a valid voice segment;
and 1034, when the effective voice fragment meets the preset user-defined voice condition corresponding to the target card, storing the effective voice fragment as the prompt voice of the target card by the first terminal equipment.
In step 1033, the valid speech segment refers to the speech spoken by the player in the reference speech.
In specific implementation, the first terminal device may intercept, as an effective speech segment, speech other than the blank speech from the reference speech. More specifically, the first terminal device may intercept continuous voices other than blank voices in the reference voice as valid voice segments, so that the intercepted valid voices may reduce the occurrence of noise.
Certainly, when the player inputs the reference voice, other players may speak, so that the voice spoken by the player in the reference voice can be recognized by utilizing the tone of the player prestored under the target account, and the voice with the same tone as that of the player is taken as the effective voice; alternatively, the voice spoken by the player in the reference voice is recognized by using the voice print of the player stored in advance under the target account, and the same voice as the voice print of the player is used as the valid voice.
In step 1034, the first terminal device determines the valid voice segment and the preset customized voice condition corresponding to the target card, and stores the valid voice segment as the prompt voice of the target card when the valid voice segment meets the preset customized voice condition corresponding to the target card. Only effective voice fragments are reserved, the playing time of the prompt voice is shortened, and a player can quickly determine that the release of the target card is completed.
The application provides an embodiment, the speed of the player is fast or slow, the duration of the intercepted effective voice may be longer than the playing duration of the skill animation of the target card, or the duration of the intercepted effective voice may be shorter than the ratio duration of the skill animation of the target card, in order to enable the skill animation and the prompt voice to be played simultaneously when the target card is released in a game battle scene as much as possible, the effective voice judgment that the playing duration of the ball catching in the reference voice is consistent with the playing duration of the skill animation corresponding to the target card may be performed, that is, the duration of the effective voice fragment is determined according to the playing duration of the skill animation corresponding to the target card. The playing time length of the skill animation and the playing time length of the target card are intercepted in the reference voice, and only when the intercepted effective voice meets the preset user-defined condition, the effective voice can be used as the prompting voice of the target card, so that when the target card is released in a game fighting scene, the skill animation and the prompting voice are played simultaneously, and a player can accurately determine that the target card is successfully released.
In order to enable the skill animation and the prompt voice to be played simultaneously when the target card is released in the game battle scene as much as possible, the application provides another embodiment, and the step S103 includes:
step 1035, when the effective voice segment meets the preset self-defined voice condition corresponding to the target card, the first terminal device scales the effective voice segment to adjust the playing time length of the effective voice segment to a first preset time length; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card;
in step 1036, the first terminal device stores the valid voice segment with the playing duration adjusted to the first predetermined duration as the prompt voice of the target card.
In step 1035, the first predetermined time is determined according to the playing time of the skill animation corresponding to the target card.
In specific implementation, when the valid voice segment meets the preset user-defined voice condition corresponding to the target card, if the playing time of the valid voice segment is not the first preset time, the first terminal device scales the valid voice segment, so that the playing time of the valid voice segment is adjusted to the first preset time. The process of zooming the effective voice segment comprises the steps of accelerating the speed of the effective voice segment and shortening the playing time of the effective voice segment; or, the speech speed of the effective speech segment is slowed down, and the playing time of the effective speech segment is prolonged.
In step 1036, the first terminal device takes the effective voice segment with the adjusted playing duration as the prompt voice of the target card. Thus, when the target card is released in the game fighting scene, the skill animation and the prompt voice are played simultaneously, and the player can accurately determine that the target card is successfully released.
In the game battle scene, before releasing the target card, the target card is determined among a plurality of cards for releasing, and therefore, the step S104 includes:
step 1041, the second terminal device responds to a card selection operation in a game fighting scene under the target account, and determines a target card from at least one card for releasing according to a position of a touch point of the selection operation;
and 1042, the second terminal device responds to the release operation for the target card, releases the skill corresponding to the target card to the position where the touch point of the release operation is located, and plays the prompt voice which is recorded by the player in advance for the target card and meets the preset custom voice condition.
In the above step 1041, the selection operation may be a drag operation, a click operation, or the like. The drag operation may be an operation in which a contact time period with the graphic user interface exceeds a second predetermined time period. The clicking operation may be an operation in which a contact time period with the graphic user interface is less than a second predetermined time period. The touch point is a contact point of the player and the second terminal device. At least one card for release may be located in the hand area; the hand area is used for displaying cards with the effective states of the target account numbers in the current game (such as a royalty war game); or, at least one card for release is located in the combat zone; cards which are used and are in an effective state for playing the current game (playing games such as chess, go and the like) are displayed in the combat area; or at least one card for release is positioned in the battle area and the hand area; the card area is used for displaying cards with valid states owned by target account numbers in the current game, and cards which are used and in valid states for playing the current game (such as a game in the class of the stone biography) are displayed in the battle area.
In specific implementation, a player logs in a target account number in the second terminal device and enters a game fighting scene, at least one card used for releasing is displayed in the game fighting scene, the number of cards to be released can be one, therefore, one card needs to be selected from a plurality of cards to serve as a target card, and then the target card is determined from the plurality of cards according to the position of the touch point of the selection operation.
In step 1042, the release operation may be a click operation, an operation in which the touch point disappears when the drag operation ends, or the like.
In specific implementation, if the selection operation in step 1041 is a first click operation on the target card, the release operation should be a second click operation, and the second click operation is a click operation in a game battle scene after the first click operation. The second terminal device releases the skill corresponding to the target card according to the touch point position of the second click operation, and plays a prompt voice which is input by the player in advance aiming at the target card and meets a preset custom voice condition.
If the selection operation in step 1041 is a drag operation, the release operation should be an operation in which the touch point disappears when the drag operation ends. The second terminal equipment releases the skill corresponding to the target card according to the touch point position when the dragging operation is finished, and plays prompt voice which is input by a player in advance aiming at the target card and meets the preset custom voice condition.
When the target card is released, in order to facilitate the player to judge whether the target card is successfully released, and to complete the playing of the skill animation and the prompt voice of the target card at the same time as much as possible, step 1042 includes:
step 10421, the second terminal device responds to the release operation for the target card, and obtains the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card;
in step 10422, the second terminal device controls playing of the skill animation corresponding to the release of the target card to the position where the touch point of the release operation is located, and at the same time controls playing of the prompt voice which is recorded by the player in advance for the target card and meets the preset custom voice condition according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card.
In the above step 10422, if the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card are the same, the skill animation of the target card and the prompt voice of the target card are controlled to be played simultaneously, so that the skill animation and the prompt voice are played simultaneously. If the playing time length of the skill animation of the target card is different from the playing time length of the prompt voice of the target card, the prompt voice of the target card is zoomed according to the playing time length of the skill animation of the target card, so that the playing time length of the skill animation is the same as the playing time length of the prompt voice, the skill animation and the zoomed prompt voice are controlled to be played simultaneously, and the skill animation and the zoomed prompt voice are played simultaneously; or if the playing time of the skill animation of the target card is different from the playing time of the prompt voice of the target card, and the playing time of the skill animation is longer than the playing time of the prompt voice, adding time (such as adding blank voice for a period of time) to the prompt voice of the target card according to the playing time of the skill animation of the target card, so that the playing time of the skill animation is the same as the playing time of the prompt voice, controlling the skill animation and the zoomed prompt voice to be played simultaneously, and enabling the skill animation and the zoomed prompt voice to be played simultaneously; or, if the playing time of the skill animation of the target card is different from the playing time of the prompt voice of the target card, and the playing time of the skill animation is less than the playing time of the prompt voice, intercepting the prompt voice of the target card (for example, deleting the voice for a period of time) according to the playing time of the skill animation of the target card, so that the playing time of the skill animation is the same as the playing time of the prompt voice, controlling the skill animation and the zoomed prompt voice to be played simultaneously, and enabling the skill animation and the zoomed prompt voice to be played simultaneously. The playing time of the prompt voice is adjusted according to the playing time of the skill animation, so that the playing time of the skill animation is consistent with the playing time of the prompt voice, the skill animation and the prompt voice are played simultaneously, and the accuracy of the player in determining the target card release success is improved.
When the selection operation is a drag operation, the target card may be determined according to the drag operation, step 1041, including:
in step 10411, the second terminal device responds to the drag operation of the card in the game battle scene under the target account, determines the target card from at least one card for releasing located in the hand area according to the position of the touch point of the drag operation, and displays the prompt information for indicating that the target card is in the state to be released in the graphical user interface.
In the above step 10411, the prompt information of the to-be-released state may be information for distinguishing the target card from other cards.
In specific implementation, when the second terminal device responds to the dragging operation of the player for the cards in the game battle scene, the target cards can be determined according to the positions of the touch points of the dragging operation, and when the target cards are determined, prompt information used for indicating that the target cards are in a to-be-released state can be displayed in the graphical user interface. By displaying the prompt information for indicating that the target card is in the to-be-released state in the graphical user interface, the player can quickly determine which card is the target card in the graphical user interface.
The prompt includes a skill release link, and therefore step 10411 includes:
step 104111, the second terminal device responds to the dragging operation of the cards in the game fighting scene under the target account, determines the target cards from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, and displays skill releasing connection lines in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
In the step 104111, two ends of the skill releasing connection line are respectively connected to the virtual character controlled by the target account and the current location of the touch point of the dragging operation (as shown in fig. 6, the virtual character, the touch point, the skill releasing connection line, and three cards located in the hand area, which are a card a, a card B, and a card C, are displayed in the graphical user interface, where the card a is the target card, and the color of the target card is darkened in order to distinguish the target card from other cards). The virtual character is a virtual character currently controlled by the player, and when the player releases the target card, the virtual character releases the skill animation corresponding to the target card. The hand area is used for displaying cards in a valid state owned by the target account in the current game, and the cards in the valid state can be cards which are not released yet.
When the game fighting method is specifically implemented, the second terminal device can determine the target card according to the position of the touch point of the dragging operation when responding to the dragging operation of the player for the card in the game fighting scene, and can display the connecting line between the virtual character under the target account and the touch point of the dragging operation in the graphical user interface when determining the target card, so that the position of the virtual character to be released in skill can be clearly indicated through the connecting line, the condition of deviation in skill release is reduced, and the accuracy of skill release is improved.
In order to make the player more fully use of the target card and improve the attack efficiency, the player can be made more detailed to know the target card, and therefore, step 104111 includes:
and 1041111, the second terminal device responds to the dragging operation of the card in the game fighting scene under the target account, determines the target card from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, displays the skill releasing connection line in the graphical user interface, and displays the detailed information corresponding to the target card in the graphical user interface.
In step 1041111, the details of the target card may be attribute information about the target card, and the details may include any one or more of the following: skill using method, grade, attack force, defense force, name, etc. The details of the target card may be displayed at a preset location (e.g., top left, bottom right, etc.) in the graphical user interface.
In specific implementation, when the second terminal device responds to the dragging operation of a player for a card in a game fighting scene, the second terminal device determines a target card according to the position of the touch point of the dragging operation, and when the target card is determined, the second terminal device displays a connecting line between the virtual character under the target account and the touch point of the dragging operation in the graphical user interface and displays detailed information of the target card. The detailed information of the target cards can enable players to have deeper understanding on the skills, attacking force, defending force and the like of the target cards, enable the players to better determine the attacking targets and improve the probability of game winning.
Of course, the prompt message may include a prompt animation of the attacked object in addition to the skill release link, and thus, step 10411 includes:
step 104112, the second terminal device responds to the dragging operation of the card in the game fighting scene under the target account, determines the target card from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, and displays a prompt animation for indicating that the target object is in a hit state in the graphical user interface; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset value; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
In step 104112, the distance between the position of the target object and the position of the touch point of the drag operation is smaller than a preset value; the hand area is used for displaying cards of a valid state owned by a target account number in the current game. The prompt animation that the target object is in a hit state can highlight the target object, or set an attack icon on the target object, and the like.
When the second terminal device responds to the dragging operation of a player for a card in a game fighting scene, a target card is determined according to the position of a touch point of the dragging operation, and when the target card is determined, a target object is also determined according to the position of the current touch point of the dragging operation, and the target object is controlled to display a prompt animation capable of being hit (as shown in fig. 7, a virtual character, the touch point, the target object and three cards located in a hand area are displayed in a graphical user interface, namely a card a, a card B and a card C, wherein the card a is the target card, and the target card is darkened in color and the target object is darkened in order to distinguish the target card from other cards). By displaying the target object as the hit prompt animation, the player can quickly find the target object in the graphical user interface, the efficiency of controlling the release of the target cards by the player is improved, and the accuracy of the target cards in the release process is also improved.
The present application further provides an embodiment, in order to enable the player to utilize the target card more fully, improve the attack efficiency, and enable the player to know the target card in more detail, therefore, step 104112 includes:
step 1041121, the second terminal device responds to the drag operation of the card in the game battle scene under the target account, determines the target card from at least one card for releasing in the hand area according to the position of the touch point of the drag operation, displays a prompt animation for indicating that the target object is in a hit state in the graphical user interface, and displays the use prompt information corresponding to the target card in the graphical user interface.
In step 1041121, the details of the target card may be attribute information about the target card, and the details may include any one or more of the following: skill using method, grade, attack force, defense force, name, etc.
In specific implementation, when the second terminal device responds to the dragging operation of a player for a card in a game fighting scene, the second terminal device determines a target card according to the position of a touch point of the dragging operation, and when the target card is determined, a target object in the graphical user interface is displayed as a prompt animation in a hit state, and details of the target card are displayed. The detailed information of the target cards can enable players to have deeper understanding on the skills, attacking force, defending force and the like of the target cards, enable the players to better determine the attacking targets and improve the probability of game winning.
The skill animation when the target card is released is different for different games when the target card is at different positions. Aiming at the game that the target cards are located in the hand area, the hand area is used for displaying the cards of the target account number in the effective state in the current game; step 1042, comprising:
and 10423, the second terminal device responds to the release operation aiming at the target card, controls the position of the touch point of the release operation to call the virtual character, and plays the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
In step 10423, the virtual character may be the virtual character controlled by the target account number for attacking the competitor.
In step 10423, the second terminal device responds to the releasing operation for the target card, the releasing operation for the target card calls a virtual character at the touch point of the releasing operation (before the target card is not released, there are three cards in the hand area in the graphical user interface, which are card a, card B, and card C, respectively, the target card is card a, there is no virtual character in the graphical user interface (as shown in fig. 8 a), after the target card is released, card a disappears, only card B and card C remain, and a virtual character is displayed in the graphical user interface (as shown in fig. 8B)), and plays a prompt voice corresponding to the target card. The appearance position of the called virtual character is consistent with the position of the touch point of the releasing operation, the strategic requirements of the player can be met as soon as possible, and the winning speed of the game is improved.
Aiming at the game of which the target cards are positioned in a fighting area, the cards which are used and are in an effective state for playing the current game are displayed in the fighting area; step 1042, comprising:
step 10424, the second terminal device responds to the release operation for the target card, controls the target card to attack the target object at the position of the touch point of the release operation, and plays the prompt voice which is recorded by the player in advance for the target card and meets the preset custom voice condition; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset numerical value.
In the step 10424, the second terminal device responds to the release operation for the target card, directly attacks the skill of the release of the target card at the touch point position of the release operation, and plays the prompt voice corresponding to the target card. The skill of the target card releasing directly attacks the touch point position of the releasing operation, the strategic requirements of the player can be met as soon as possible, and the game winning speed is improved.
When the selection operation is a click operation, and the release operation is also a click operation, step 1041 includes
Step 10412, the second terminal device responds to a first click operation on a card in a game fighting scene under the target account, determines a target card from at least one card for release in the hand area according to a position of a touch point of the first click operation, and displays prompt information indicating that the target card is in a to-be-released state in the graphical user interface;
step 1042, comprising:
in step 10425, the second terminal device responds to the second click operation, releases the skill corresponding to the target card to the position where the touch point of the second click operation is located, and plays the prompt voice which is input by the player in advance for the target card and meets the preset custom voice condition.
In the above step 10412, the first click operation may be a click operation for a card in a game battle scene. The prompt information of the to-be-released state may be information for distinguishing the target card from other cards. The prompt information of the to-be-released state can be highlighted (for example, the display brightness of the target card is higher than that of other cards), highlighted (for example, the display position of the target card is higher than that of other cards), and the like.
In specific implementation, the second terminal device may determine the target card from the plurality of cards according to the position of the touch point of the first click operation. And the target card is highlighted through the prompt message of the state to be released. By highlighting the target cards, the player can quickly determine which card is the target card in the graphical user interface.
Of course, in order to allow the player to further understand the target card, the details of the target card may also be displayed in the graphical user interface, step 10412, which includes:
step 104121, the second terminal device responds to the first click operation on the card in the game battle scene under the target account, determines the target card from at least one card for releasing in the hand area according to the position of the touch point of the first click operation, displays prompt information indicating that the target card is in a to-be-released state in the graphical user interface, and displays detailed information corresponding to the target card in the graphical user interface.
In step 104121, the details of the target card may be attribute information about the target card, and the details may include any one or more of the following: skill using method, grade, attack force, defense force, name, etc.
The second terminal device can determine a target card from the plurality of cards according to the position of the touch point of the first clicking operation. And the target card is highlighted through the prompt message of the state to be released. And displays the details of the target card. The detailed information of the target cards can enable players to have deeper understanding on the skills, attacking force, defending force and the like of the target cards, enable the players to better determine the attacking targets and improve the probability of game winning.
In the above step 10425, the second click operation is a click operation in the battle scene for the game after the first click operation.
In specific implementation, the second terminal device controls the skill release corresponding to the target card to be at the position of the touch point of the second click operation, and plays the prompt voice of the target card. The position of the touch point of the second click operation determines the position of the release of the skill of the target card, so that the accuracy of the release of the skill is improved.
The present application further provides a more specific method for improving skill release accuracy, step 10425, comprising:
104251, the second terminal device responds to the second click operation, displays a skill release connecting line in the graphical user interface according to the touch point of the second click operation, releases the skill corresponding to the target card to the end position of the skill release connecting line when the touch point of the second click operation disappears, and plays a prompt voice which is recorded by the player aiming at the target card and meets the preset custom voice condition; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the second click operation.
In the above step 104251, two ends of the skill release connection line are respectively connected to the virtual character controlled by the target account and the current position of the touch point of the second click operation (as shown in fig. 6, the virtual character, the touch point, the skill release connection line, and three cards located in the hand area, which are a card a, a card B, and a card C, are displayed in the graphical user interface, where the card a is the target card, and the color of the target card is deepened in order to distinguish the target card from other cards). The virtual character is a virtual character currently controlled by the player, and when the player releases the target card, the virtual character releases the skill animation corresponding to the target card. The end position of the skill release link may be a position at which the touch point of the second click operation disappears.
When the second click operation is performed, the second terminal device responds to the second click operation, determines the position of the touch point of the current second click operation, displays a skill release connecting line between the virtual character and the touch point of the second click operation in a graphical interface, releases the skill corresponding to the target card board to the end position of the skill release connecting line when the touch point of the second click operation disappears, and plays a prompt voice which is recorded by a player in advance aiming at the target card board and meets the preset custom voice condition. Displaying the skill release connection in a graphical user interface may improve skill release accuracy.
The present application also provides another more specific method for improving skill release accuracy, step 10425, comprising:
step 104252, the second terminal device responds to the second click operation, and displays a prompt animation for indicating that the target object is in a hit state in the graphical user interface according to the touch point of the second click operation (as shown in fig. 7, a virtual character, a touch point, the target object and three cards located in a hand area are displayed in the graphical user interface, namely a card a, a card B and a card C, wherein the card a is the target card, the color of the target card is deepened for distinguishing the target card from other cards, and the color of the target object is deepened); the distance between the position of the target object and the position of the touch point of the second click operation is smaller than a preset value.
In step 104252, the distance between the position of the target object and the position of the touch point of the drag operation is smaller than the preset value, and the prompt animation indicating that the target object is in the hit state may highlight the target object, or set an attack icon on the target object.
In specific implementation, when the second terminal device performs the second click operation, the target object is determined according to the position of the touch point of the second click operation, the target object is controlled to display a prompt animation capable of being hit, and when the touch point of the second click operation disappears, the skill is released to the target object. By displaying the target object as the hit prompt animation, the player can quickly find the target object in the graphical user interface, the efficiency of controlling the release of the target cards by the player is improved, and the accuracy of the target cards in the release process is also improved.
The embodiment of the application also provides a use method of the card, which comprises the following steps:
step 201, a second terminal device responds to a card selection operation in a game fighting scene under a target account, and determines a target card from at least one card for releasing according to the position of a touch point of the selection operation; at least one card for releasing is displayed in the game fighting scene;
step 202, the second terminal device responds to the releasing operation aiming at the target card, releases the skill corresponding to the target card to the position where the touch point of the releasing operation is located, and plays the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
The above detailed discussion of step 201 may refer to the above discussion of step 1041, and the above detailed discussion of step 202 may refer to the above discussion of step 1042.
Optionally, step 202 includes:
step 2021, the second terminal device responds to the release operation for the target card, and obtains the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card;
step 2022, the second terminal device controls playing of the skill animation corresponding to the target card at the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance for the target card and meets the preset custom voice condition.
The above detailed discussion of step 2021 may refer to the above discussion of step 10421, and the above detailed discussion of step 2022 may refer to the above discussion of step 10422.
Optionally, step 201 includes:
in step 2011, the second terminal device responds to the drag operation of the card in the game battle scene under the target account, determines the target card from at least one card for releasing located in the hand area according to the position of the touch point of the drag operation, and displays the prompt information for indicating that the target card is in the state to be released in the graphical user interface.
The detailed discussion of step 2011 above may refer to the discussion of step 10411 above.
Optionally, step 2011 includes:
step 20111, the second terminal device responds to the dragging operation of the card in the game fighting scene under the target account, determines the target card from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, and displays a skill releasing connection line in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
The above detailed discussion of step 20111 may refer to the discussion of step 104111 above.
Optionally, step 20111, includes:
and 201111, the second terminal device responds to the dragging operation of the card in the game fighting scene under the target account, determines the target card from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, displays the skill releasing connection line in the graphical user interface, and displays the detailed information corresponding to the target card in the graphical user interface.
The above detailed discussion of step 201111 can be found in relation to the discussion of step 1041111 above.
Optionally, step 201 includes:
step 2012, the second terminal device responds to a drag operation of the cards in a game battle scene under the target account, determines a target card from at least one card for release in the hand area according to a position of a touch point of the drag operation, and displays a prompt animation for indicating that the target object is in a hit state in the graphical user interface; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset value; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
The detailed discussion of step 2012 above may be referenced to the discussion of step 104112 above.
Optionally, step 2012, includes:
step 20121, the second terminal device responds to the dragging operation of the cards in the game fighting scene under the target account, determines the target card from at least one card used for releasing in the hand area according to the position of the touch point of the dragging operation, displays a prompt animation used for indicating that the target object is in a hit state in the graphical user interface, and displays the use prompt information corresponding to the target card in the graphical user interface.
The above detailed discussion of step 20121 may refer to the discussion of step 1041121 above.
Optionally, step 201 includes:
step 2013, the second terminal device responds to a first click operation on a card in a game fighting scene under the target account, determines a target card from at least one card for releasing in the hand area according to the position of a touch point of the first click operation, and displays prompt information indicating that the target card is in a to-be-released state in the graphical user interface;
step 202, comprising:
step 2021, the second terminal device responds to the second click operation, releases the skill corresponding to the target card to the position where the touch point of the second click operation is located, and plays a prompt voice which is input by the player in advance for the target card and meets a preset custom voice condition.
The above detailed discussion of step 2013 may refer to the above discussion of step 10412, and the above detailed discussion of step 2021 may refer to the above discussion of step 10425.
Optionally, step 2021, includes:
step 20211, the second terminal device responds to the second click operation, displays a skill release link in the graphical user interface according to the touch point of the second click operation, releases the skill corresponding to the target card to the end position of the skill release link when the touch point of the second click operation disappears, and plays a prompt voice which is recorded by the player in advance for the target card and meets a preset custom voice condition; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the second click operation.
The above detailed discussion of step 20211 may refer to the discussion of step 104251 above.
Optionally, step 2021, includes:
step 20212, the second terminal device responds to the second click operation, displays a prompt animation for indicating that the target object is in a hit state in the graphical user interface according to the touch point of the second click operation, releases the skill corresponding to the target card to the target object when the touch point of the second click operation disappears, and plays a prompt voice which is recorded by the player in advance for the target card and meets a preset custom voice condition; the distance between the position of the target object and the position of the touch point of the second click operation is smaller than a preset value.
The above detailed discussion of step 20212 may refer to the discussion of step 104252 above.
Optionally, the target card is located in a hand area, and the hand area is used for displaying a card of a valid state owned by the target account in the current game; step 202, comprising:
step 2022, the second terminal device responds to the release operation for the target card, controls the position of the touch point of the release operation to call the virtual character, and plays a prompt voice which is recorded by the player in advance for the target card and meets a preset custom voice condition.
The above detailed discussion of step 2022 may refer to the discussion of step 10423 above.
Optionally, the target card is located in a battle area, and a card which is used for playing the current game and is in an effective state is displayed in the battle area; step 202, comprising:
step 2023, the second terminal device responds to the release operation for the target card, controls the target card to attack the target object at the position of the touch point of the release operation, and plays a prompt voice which is recorded by the player in advance for the target card and meets a preset custom voice condition; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset numerical value.
The above detailed discussion of step 2023 may refer to the discussion of step 10424 above.
Optionally, the card using method further includes:
step 301, displaying a game preparation interface under a target account on a first terminal device; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface;
step 302, the first terminal device responds to a trigger operation aiming at a voice input key, starts a voice input function, and records reference voice in the process of starting the voice input function;
step 303, when the reference voice meets a preset self-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card;
and 304, the second terminal equipment responds to the release operation of the target cards in the game fighting scene under the target account number, controls the skills corresponding to the target cards to be released, and plays the prompt voice of the target cards.
The detailed discussion of step 301 above may refer to the discussion of step S101 above; the above detailed discussion of step 302 may refer to the above discussion of step S102; the above detailed discussion of step 303 may refer to the above discussion of step S103; the above detailed discussion of step 304 may refer to the above discussion of step S104.
Optionally, step 301 includes:
3011, displaying a game preparation interface under the target account on the first terminal device, and prompting content corresponding to the target card; wherein the prompt content is used for guiding the player to enter the reference voice corresponding to the prompt content.
The above detailed discussion of step 3011 may refer to the discussion of step 1011 above.
Optionally, step 303 includes:
3031, when the similarity of the reference voice and the prompt content corresponding to the target card meets the similarity threshold, the reference voice is stored as the prompt voice of the target card.
The detailed discussion of step 3031 above may refer to the discussion of step 1031 above.
Optionally, step 3031 includes:
30311, extracting factors of the reference voice to obtain each reference phoneme in the reference voice;
step 30312, calculating the matching probability of each reference phoneme and the standard phoneme in the preset user-defined speech condition;
step 30313, determining whether the reference speech satisfies the preset custom speech condition corresponding to the target card according to the matching probability of each reference phoneme.
The detailed discussion of step 30311 above may refer to the discussion of step 10314 above; the detailed discussion of step 30312 above may refer to the discussion of step 10315 above; the detailed discussion of step 30313 above may refer to the discussion of step 10316 above.
Optionally, step 30313 includes:
and step 303131, determining whether the reference voice meets the preset self-defined voice condition corresponding to the target card according to the matching probability of the reference phoneme with the lowest matching probability in the reference voice.
The above detailed discussion of step 303131 can be found in relation to the discussion of step 103161 above.
Optionally, step 303 includes:
3032, when the reference voice meets the preset user-defined voice condition corresponding to the target card, the first terminal device displays a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface;
3033, the first terminal equipment responds to the touch operation of the key used aiming at the reference voice and stores the reference voice as the prompt voice of the target card;
step 3034, or the first terminal device responds to the touch operation of the default voice use key, and stores the default prompt voice as the prompt voice of the target card.
The above detailed discussion of step 3032 may refer to the discussion of step 1032 hereinabove; the above detailed discussion of step 3033 may refer to the discussion of step 1033 above; the above detailed discussion of step 3034 may refer to the discussion of step 1034 above.
Optionally, step 303 includes:
step 3035, when the reference voice is determined to meet the preset user-defined voice condition corresponding to the target card, the first terminal device responds to the touch operation aiming at the voice-changing key, and stores the reference voice subjected to voice changing by the voice-changing strategy corresponding to the voice-changing key as the prompt voice of the target card.
The above detailed discussion of step 3035 may refer to the discussion of step 1035 above.
Optionally, step 303 includes:
step 3036, when the reference voice is determined to meet the preset user-defined voice condition corresponding to the target card, the first terminal device changes the voice of the reference voice according to a preset voice changing strategy, and stores the voice changed reference voice as the prompt voice of the target card.
The above detailed discussion of step 3036 may refer to the discussion of step 1036 above.
Optionally, step 302 includes:
step 3021, the first terminal device responds to a trigger operation for the voice input key, starts a voice input function of a first preset duration, and records a reference voice in the process of starting the voice input function; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card.
The detailed discussion of step 3021 above may refer to the discussion of step 1021 above.
Optionally, step 303 includes:
3037, the first terminal device intercepts the invalid voice segment which is not recorded with the player voice from the reference voice to obtain a valid voice segment;
step 3038, when the effective voice segment meets the preset user-defined voice condition corresponding to the target card, the first terminal device stores the effective voice segment as the prompt voice of the target card.
The above detailed discussion of step 3037 may refer to the discussion of step 1037 above; the above detailed discussion of step 3038 may refer to the discussion of step 1038 above.
Optionally, step 303 includes:
3039, when the effective voice segment meets the preset user-defined voice condition corresponding to the target card, the first terminal equipment zooms the effective voice segment to adjust the playing time length of the effective voice segment to a first preset time length; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card;
step 3030, the first terminal device stores the effective voice segment with the playing time length adjusted to the first preset time length as the prompt voice of the target card.
The above detailed discussion of step 3039 may refer to the discussion of step 1039 above; the above detailed discussion of step 3030 may refer to the discussion of step 1030 above.
The application embodiment also provides a card using method, which includes:
step 401, the second terminal device responds to a dragging operation of a card in a game fighting scene under a target account, determines a target card from at least one card for releasing in a hand area according to a position of a touch point of the dragging operation, displays a skill release connection line in a graphical user interface, and displays prompt information indicating that the target card is in a state to be released in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the card hand area is used for displaying cards of the target account number in the effective state in the current game;
step 402, the second terminal device responds to the release operation aiming at the target card, and obtains the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card; and the second terminal equipment controls playing of the skill animation corresponding to the target card to be released to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance for the target card and meets the preset custom voice condition.
In the above step 401, the drag operation may be an operation in which a contact time period with the graphic user interface exceeds a second predetermined time period. The touch point is a contact point of the player and the second terminal device. At least one card for release may be located in the hand area; the hand area is used for displaying cards with the effective states of the target account numbers in the current game (such as a royalty war game); or, at least one card for release is located in the combat zone; cards which are used and are in an effective state for playing the current game (playing games such as chess, go and the like) are displayed in the combat area; or at least one card for release is positioned in the battle area and the hand area; the card area is used for displaying cards with valid states owned by target account numbers in the current game, and cards which are used and in valid states for playing the current game (such as a game in the class of the stone biography) are displayed in the battle area. The prompt information of the to-be-released state may be information for distinguishing the target card from other cards. Two ends of the skill release connection line are respectively connected with a virtual character controlled by the target account and a current position of a touch point of the dragging operation (as shown in fig. 6, the virtual character, the touch point, the skill release connection line and three cards in a hand area, namely a card a, a card B and a card C, are displayed in the graphical user interface, wherein the card a is the target card, and the color of the target card is deepened in order to distinguish the target card from other cards). The virtual character is a virtual character currently controlled by the player, and when the player releases the target card, the virtual character releases the skill animation corresponding to the target card. The hand area is used for displaying cards in a valid state owned by the target account in the current game, and the cards in the valid state can be cards which are not released yet. The details of the target card may be attribute information about the target card, and the details may include any one or more of the following: skill using method, grade, attack force, defense force, name, etc. The details of the target card may be displayed at a preset location (e.g., top left, bottom right, etc.) in the graphical user interface.
When the game fighting method is specifically implemented, the second terminal device can determine the target card according to the position of the touch point of the dragging operation when responding to the dragging operation of the player for the card in the game fighting scene, and can display the connecting line between the virtual character under the target account and the touch point of the dragging operation in the graphical user interface when determining the target card, so that the position of the virtual character to be released in skill can be clearly indicated through the connecting line, the condition of deviation in skill release is reduced, and the accuracy of skill release is improved. And displaying the detailed information of the target card in a graphical user interface. The detailed information of the target cards can enable players to have deeper understanding on the skills, attacking force, defending force and the like of the target cards, enable the players to better determine the attacking targets and improve the probability of game winning.
In the step 402, if the playing time of the skill animation of the target card is the same as the playing time of the prompt voice of the target card, the skill animation of the target card and the prompt voice of the target card are controlled to be played simultaneously, so that the skill animation and the prompt voice are played simultaneously. If the playing time length of the skill animation of the target card is different from the playing time length of the prompt voice of the target card, the prompt voice of the target card is zoomed according to the playing time length of the skill animation of the target card, so that the playing time length of the skill animation is the same as the playing time length of the prompt voice, the skill animation and the zoomed prompt voice are controlled to be played simultaneously, and the skill animation and the zoomed prompt voice are played simultaneously; or if the playing time of the skill animation of the target card is different from the playing time of the prompt voice of the target card, and the playing time of the skill animation is longer than the playing time of the prompt voice, adding time (such as adding blank voice for a period of time) to the prompt voice of the target card according to the playing time of the skill animation of the target card, so that the playing time of the skill animation is the same as the playing time of the prompt voice, controlling the skill animation and the zoomed prompt voice to be played simultaneously, and enabling the skill animation and the zoomed prompt voice to be played simultaneously; or, if the playing time of the skill animation of the target card is different from the playing time of the prompt voice of the target card, and the playing time of the skill animation is less than the playing time of the prompt voice, intercepting the prompt voice of the target card (for example, deleting the voice for a period of time) according to the playing time of the skill animation of the target card, so that the playing time of the skill animation is the same as the playing time of the prompt voice, controlling the skill animation and the zoomed prompt voice to be played simultaneously, and enabling the skill animation and the zoomed prompt voice to be played simultaneously. The playing time of the prompt voice is adjusted according to the playing time of the skill animation, so that the playing time of the skill animation is consistent with the playing time of the prompt voice, the skill animation and the prompt voice are played simultaneously, and the accuracy of the player in determining the target card release success is improved.
As shown in fig. 9, an embodiment of the present application provides a card prompting voice determining apparatus, including:
a display module 901, configured to display a game preparation interface under a target account on a first terminal device; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface;
the triggering module 902 is used for the first terminal device to respond to a triggering operation for the voice recording key, start a voice recording function, and record a reference voice in the process of starting the voice recording function;
the storage module 903 is used for storing the reference voice as a prompt voice of the target card by the first terminal device when the reference voice meets a preset self-defined voice condition corresponding to the target card;
the releasing module 904 is configured to control, by the second terminal device, releasing operation of a target card in a game battle scene under the target account, release a skill corresponding to the target card, and play a prompt voice of the target card.
Optionally, the first terminal device and the second terminal device are the same device, or the first terminal device and the second terminal device are different devices.
Optionally, the display module 901 includes:
the first display unit is used for displaying a game preparation interface under a target account on the first terminal device and prompting prompt contents corresponding to the target card; wherein the prompt content is used for guiding the player to enter the reference voice corresponding to the prompt content.
Optionally, the storage module 903 includes:
and the first storage unit is used for storing the reference voice as the prompting voice of the target card when the similarity of the reference voice and the prompting content corresponding to the target card meets the similarity threshold.
Optionally, when any one of the following conditions is met, determining that the similarity of the prompt content corresponding to the reference voice and the target card meets a similarity threshold:
the voice similarity between the reference voice and the default prompt voice of the target card meets a similarity threshold; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the text prompt content of the target card; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the voice recognition result of the default prompt voice of the target card.
Optionally, the method further includes:
the extraction module is used for extracting factors of the reference voice to obtain each reference phoneme in the reference voice;
the calculation module is used for respectively calculating the matching probability of each reference phoneme and a standard phoneme in a preset user-defined speech condition;
and the determining module is used for determining whether the reference voice meets a preset custom voice condition corresponding to the target card according to the matching probability of each reference phoneme.
Computationally, the determining module includes:
and the first determining unit is used for determining whether the reference voice meets a preset self-defined voice condition corresponding to the target card according to the matching probability of the reference phoneme with the lowest matching probability in the reference voice.
Optionally, the storage module 903 includes:
the second display unit is used for displaying a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface by the first terminal equipment when the reference voice meets a preset self-defined voice condition corresponding to the target card;
the second storage unit is used for responding to the touch operation of the key used aiming at the reference voice by the first terminal equipment and storing the reference voice as the prompt voice of the target card;
and the third storage unit is used for storing the default prompt voice as the prompt voice of the target card by the first terminal equipment in response to the touch operation of the default voice use key.
Optionally, the storage module 903 includes:
and the fourth storage unit is used for responding to the touch operation aiming at the sound change key by the first terminal equipment when the reference voice meets the preset user-defined voice condition corresponding to the target card, and storing the reference voice subjected to sound change by adopting the sound change strategy corresponding to the sound change key as the prompt voice of the target card.
Optionally, the storage module 903 includes:
and the fifth storage unit is used for changing the voice of the reference voice according to a preset voice changing strategy and storing the changed voice as the prompt voice of the target card when the reference voice is determined to meet the preset user-defined voice condition corresponding to the target card.
Optionally, the triggering module 902 includes:
the first triggering unit is used for responding to triggering operation aiming at the voice recording key by the first terminal equipment, starting a voice recording function with a first preset time length and recording reference voice in the process of starting the voice recording function; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card.
Optionally, the storage module 903 includes:
an intercepting unit, configured to intercept, by the first terminal device, an invalid voice clip in which a player voice is not recorded from the reference voice to obtain an valid voice clip;
and the sixth storage unit is used for storing the effective voice fragment as the prompt voice of the target card by the first terminal equipment when the effective voice fragment meets the preset user-defined voice condition corresponding to the target card.
Optionally, the duration of the effective voice segment is determined according to the playing duration of the skill animation corresponding to the target card.
Optionally, the storage module 903 includes:
the obtaining unit is used for zooming the effective voice fragment by the first terminal equipment when the effective voice fragment meets a preset user-defined voice condition corresponding to the target card so as to adjust the playing time length of the effective voice fragment to a first preset time length; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card;
and the seventh storage unit is used for storing the effective voice segment of which the playing time length is adjusted to the first preset time length as the prompt voice of the target card by the first terminal equipment.
Optionally, the releasing module 904 includes:
a third determining unit, configured to determine, by the second terminal device, a target card from at least one card to be released according to a position of a touch point of a selection operation in response to the selection operation for the card in the game battle scene under the target account;
and the first release unit is used for responding to the release operation aiming at the target card by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the release operation is located, and playing the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the first releasing unit includes:
the second obtaining unit is used for responding to the releasing operation aiming at the target card by the second terminal equipment and obtaining the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card;
and the first release subunit is used for controlling the second terminal equipment to play the skill animation corresponding to the target card to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controlling the player to play the prompt voice which is recorded in advance by aiming at the target card and meets the preset custom voice condition.
Optionally, at least one card for release is located in the hand area; the card hand area is used for displaying cards of the target account number in the effective state in the current game;
or, at least one card for release is located in the combat zone; the battle area displays cards which are used and in an effective state for playing the current game;
or at least one card for release is positioned in the battle area and the hand area; the card area is used for displaying cards in an effective state owned by a target account number in the current game, and cards which are used for playing the current game and are in the effective state are displayed in the battle area.
Optionally, the releasing module 904 includes:
and the second release unit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for release in the hand area according to the position of the touch point of the dragging operation, and displaying prompt information for indicating that the target cards are in a to-be-released state in the graphical user interface.
Optionally, the second releasing unit includes:
the second release subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for release in the hand area according to the position of a touch point of the dragging operation, and displaying a skill release connecting line in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
Optionally, the second release subunit includes:
and the third release subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for release in the hand area according to the position of the touch point of the dragging operation, displaying a skill release connecting line in the graphical user interface and displaying the detailed information corresponding to the target cards in the graphical user interface.
Optionally, the second releasing unit includes:
the fourth release subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for release in the hand area according to the position of the touch point of the dragging operation, and displaying a prompt animation for indicating that the target object is in a hit state in the graphical user interface; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset value; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
Optionally, the fourth release subunit includes:
and the fifth release subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for release in the hand area according to the position of the touch point of the dragging operation, displaying a prompt animation for indicating that the target object is in a hit state in the graphical user interface, and displaying the use prompt information corresponding to the target cards in the graphical user interface.
Optionally, the third determining unit includes:
the first determining subunit is used for responding to a first click operation on a card in a game fighting scene under a target account by the second terminal equipment, determining a target card from at least one card for releasing in the card area according to the position of a touch point of the first click operation, and displaying prompt information indicating that the target card is in a state to be released in a graphical user interface;
a first release unit comprising:
and the sixth releasing subunit is used for responding to the second click operation by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the second click operation is located, and playing the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
Optionally, the first determining subunit includes:
the second determining subunit is used for responding to a second click operation by the second terminal equipment, displaying a skill release connecting line in the graphical user interface according to a touch point of the second click operation, releasing a skill corresponding to the target card to the end point position of the skill release connecting line when the touch point of the second click operation disappears, and playing a prompt voice which is recorded by a player aiming at the target card in advance and meets a preset custom voice condition; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the second click operation.
Optionally, the sixth release subunit includes:
a seventh releasing subunit, configured to, in response to the second click operation, display, in the graphical user interface, a prompt animation for indicating that the target object is in a hit state according to a touch point of the second click operation, release, when the touch point of the second click operation disappears, a skill corresponding to the target card to the target object, and play a prompt voice that satisfies a preset custom voice condition and is input by the player in advance for the target card; the distance between the position of the target object and the position of the touch point of the second click operation is smaller than a preset value.
Optionally, the first releasing unit includes:
and the eighth release subunit is used for responding the release operation aiming at the target card by the second terminal equipment, controlling the position where the touch point of the release operation is located to call the virtual character, and playing the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the first releasing unit includes:
the ninth release subunit is used for the second terminal device to respond to the release operation aiming at the target card, control the target card to attack the target object at the position of the touch point of the release operation, and play prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset numerical value.
The embodiment of the application provides a card cards's operative installations, includes:
the determining module is used for responding to the selection operation of cards in a game fighting scene under the target account by the second terminal equipment, and determining the target cards from at least one card for releasing according to the positions of touch points of the selection operation; at least one card for releasing is displayed in the game fighting scene;
and the playing module is used for responding the releasing operation aiming at the target card by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the releasing operation is located, and playing the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the playing module includes:
the acquisition unit is used for responding to the release operation aiming at the target card by the second terminal equipment and acquiring the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card;
and the first playing unit is used for controlling the second terminal equipment to play the skill animation corresponding to the target card to the position of the touch point of the releasing operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controlling the player to play the prompt voice which is recorded in advance by aiming at the target card and meets the preset custom voice condition.
Optionally, at least one card for release is located in the hand area; the card hand area is used for displaying cards of the target account number in the effective state in the current game;
or, at least one card for release is located in the combat zone; the battle area displays cards which are used and in an effective state for playing the current game;
or at least one card for release is positioned in the battle area and the hand area; the card area is used for displaying cards in an effective state owned by a target account number in the current game, and cards which are used for playing the current game and are in the effective state are displayed in the battle area.
Optionally, the determining module includes:
the first determining unit is used for responding to dragging operation of cards in a game fighting scene under a target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of a touch point of the dragging operation, and displaying prompt information for indicating that the target cards are in a state to be released in a graphical user interface.
Optionally, the first determining unit includes:
the first determining subunit is used for responding to dragging operation of cards in a game fighting scene under a target account by the second terminal equipment, determining target cards from at least one card for releasing in the hand area according to the position of a touch point of the dragging operation, and displaying a skill releasing connecting line in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
Optionally, the determining module includes:
a second determining unit, configured to, in response to a first click operation on a card in a game battle scene under a target account, determine, according to a position of a touch point of the first click operation, a target card from at least one card for release located in a hand area, and display, in a graphical user interface, prompt information indicating that the target card is in a to-be-released state;
a playback module, comprising:
and the second playing unit is used for responding to the second click operation by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the second click operation is located, and playing the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
Optionally, the second playing unit includes:
the second playing subunit is used for responding to a second click operation by the second terminal equipment, displaying a skill release connecting line in the graphical user interface according to a touch point of the second click operation, releasing a skill corresponding to the target card to the end point position of the skill release connecting line when the touch point of the second click operation disappears, and playing a prompt voice which is recorded by a player aiming at the target card in advance and meets a preset custom voice condition; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the second click operation.
The embodiment of the application provides a card cards's operative installations, includes:
the determining module is used for responding to the selection operation of cards in a game fighting scene under the target account by the second terminal equipment, and determining the target cards from at least one card for releasing according to the positions of touch points of the selection operation; at least one card for releasing is displayed in the game fighting scene;
and the playing module is used for responding the releasing operation aiming at the target card by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the releasing operation is located, and playing the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
And the second playing unit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, and displaying prompt information for indicating that the target cards are in a state to be released in the graphical user interface.
Optionally, the second playing unit includes:
the second playing subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of a touch point of the dragging operation, and displaying a skill releasing connecting line in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
Optionally, the second playing sub-unit includes:
and the third playing subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, displaying a skill releasing connection line in the graphical user interface and displaying the detailed information corresponding to the target cards in the graphical user interface.
Optionally, the second playing unit includes:
the fourth playing subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, and displaying a prompt animation for indicating that the target object is in a hit state in the graphical user interface; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset value; the hand area is used for displaying cards of a valid state owned by a target account number in the current game.
Optionally, the fourth playing sub-unit includes:
and the fifth playing subunit is used for responding to the dragging operation of the cards in the game fighting scene under the target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of the touch point of the dragging operation, displaying a prompt animation for indicating that the target object is in a hit state in the graphical user interface, and displaying the use prompt information corresponding to the target cards in the graphical user interface.
Optionally, the third determining unit includes:
the first determining subunit is used for responding to a first click operation on a card in a game fighting scene under a target account by the second terminal equipment, determining a target card from at least one card for releasing in the card area according to the position of a touch point of the first click operation, and displaying prompt information indicating that the target card is in a state to be released in a graphical user interface;
a first playback unit comprising:
and the sixth playing subunit is used for responding to the second click operation by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the second click operation is located, and playing the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
Optionally, the first determining subunit includes:
the second determining subunit is used for responding to a second click operation by the second terminal equipment, displaying a skill release connecting line in the graphical user interface according to a touch point of the second click operation, releasing a skill corresponding to the target card to the end point position of the skill release connecting line when the touch point of the second click operation disappears, and playing a prompt voice which is recorded by a player aiming at the target card in advance and meets a preset custom voice condition; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the second click operation.
Optionally, the sixth playing sub-unit includes:
a seventh playing subunit, configured to, in response to the second click operation, display a prompt animation used for indicating that the target object is in a hit state in the graphical user interface according to a touch point of the second click operation, release a skill corresponding to the target card to the target object when the touch point of the second click operation disappears, and play a prompt voice that satisfies a preset custom voice condition and is input by the player in advance for the target card; the distance between the position of the target object and the position of the touch point of the second click operation is smaller than a preset value.
Optionally, the first playing unit includes:
and the eighth playing subunit is used for responding the release operation aiming at the target card by the second terminal equipment, controlling the position of the touch point of the release operation to call the virtual character, and playing the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the first playing unit includes:
the ninth playing subunit is used for the second terminal equipment to respond to the releasing operation aiming at the target card, control the target card to attack the target object at the position of the touch point of the releasing operation, and play the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition; the distance between the position of the target object and the position of the touch point of the dragging operation is smaller than a preset numerical value.
Optionally, the apparatus further comprises:
the display module is used for displaying a game preparation interface under a target account on the first terminal device; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface;
the triggering module is used for responding to triggering operation aiming at the voice recording key by the first terminal equipment, starting a voice recording function and recording reference voice in the process of starting the voice recording function;
the storage module is used for storing the reference voice as the prompt voice of the target card by the first terminal equipment when the reference voice meets the preset self-defined voice condition corresponding to the target card;
and the playing module is used for responding the releasing operation of the target cards in the game fighting scene under the target account by the second terminal equipment, controlling the skills corresponding to the target cards to be released, and playing the prompting voice of the target cards.
Optionally, the first terminal device and the second terminal device are the same device, or the first terminal device and the second terminal device are different devices.
Optionally, the display module includes:
the first display unit is used for displaying a game preparation interface under a target account on the first terminal device and prompting prompt contents corresponding to the target card; wherein the prompt content is used for guiding the player to enter the reference voice corresponding to the prompt content.
Optionally, the storage module includes:
and the first storage unit is used for storing the reference voice as the prompting voice of the target card when the similarity of the reference voice and the prompting content corresponding to the target card meets the similarity threshold.
Optionally, when any one of the following conditions is met, determining that the similarity of the prompt content corresponding to the reference voice and the target card meets a similarity threshold:
the voice similarity between the reference voice and the default prompt voice of the target card meets a similarity threshold; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the text prompt content of the target card; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the voice recognition result of the default prompt voice of the target card.
Optionally, the method further includes:
the extraction module is used for extracting factors of the reference voice to obtain each reference phoneme in the reference voice;
the calculation module is used for respectively calculating the matching probability of each reference phoneme and a standard phoneme in a preset user-defined speech condition;
and the determining module is used for determining whether the reference voice meets a preset custom voice condition corresponding to the target card according to the matching probability of each reference phoneme.
Computationally, the determining module includes:
and the first determining unit is used for determining whether the reference voice meets a preset self-defined voice condition corresponding to the target card according to the matching probability of the reference phoneme with the lowest matching probability in the reference voice.
Optionally, the storage module includes:
the second display unit is used for displaying a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface by the first terminal equipment when the reference voice meets a preset self-defined voice condition corresponding to the target card;
the second storage unit is used for responding to the touch operation of the key used aiming at the reference voice by the first terminal equipment and storing the reference voice as the prompt voice of the target card;
and the third storage unit is used for storing the default prompt voice as the prompt voice of the target card by the first terminal equipment in response to the touch operation of the default voice use key.
Optionally, the storage module includes:
and the fourth storage unit is used for responding to the touch operation aiming at the sound change key by the first terminal equipment when the reference voice meets the preset user-defined voice condition corresponding to the target card, and storing the reference voice subjected to sound change by adopting the sound change strategy corresponding to the sound change key as the prompt voice of the target card.
Optionally, the storage module includes:
and the fifth storage unit is used for changing the voice of the reference voice according to a preset voice changing strategy and storing the changed voice as the prompt voice of the target card when the reference voice is determined to meet the preset user-defined voice condition corresponding to the target card.
Optionally, the triggering module includes:
the first triggering unit is used for responding to triggering operation aiming at the voice recording key by the first terminal equipment, starting a voice recording function with a first preset time length and recording reference voice in the process of starting the voice recording function; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card.
Optionally, the storage module includes:
an intercepting unit, configured to intercept, by the first terminal device, an invalid voice clip in which a player voice is not recorded from the reference voice to obtain an valid voice clip;
and the sixth storage unit is used for storing the effective voice fragment as the prompt voice of the target card by the first terminal equipment when the effective voice fragment meets the preset user-defined voice condition corresponding to the target card.
Optionally, the duration of the effective voice segment is determined according to the playing duration of the skill animation corresponding to the target card.
Optionally, the storage module includes:
the obtaining unit is used for zooming the effective voice fragment by the first terminal equipment when the effective voice fragment meets a preset user-defined voice condition corresponding to the target card so as to adjust the playing time length of the effective voice fragment to a first preset time length; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card;
and the seventh storage unit is used for storing the effective voice segment of which the playing time length is adjusted to the first preset time length as the prompt voice of the target card by the first terminal equipment.
Optionally, the playing module includes:
a third determining unit, configured to determine, by the second terminal device, a target card from at least one card to be released according to a position of a touch point of a selection operation in response to the selection operation for the card in the game battle scene under the target account;
and the first playing unit is used for responding to the releasing operation aiming at the target card by the second terminal equipment, releasing the skill corresponding to the target card to the position where the touch point of the releasing operation is located, and playing the prompt voice which is recorded by the player aiming at the target card in advance and meets the preset custom voice condition.
Optionally, the first playing unit includes:
the second obtaining unit is used for responding to the releasing operation aiming at the target card by the second terminal equipment and obtaining the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card;
and the first playing subunit is used for controlling the second terminal equipment to play the skill animation corresponding to the target card to be released to the position of the touch point of the releasing operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controlling the player to play the prompt voice which is recorded in advance by aiming at the target card and meets the preset custom voice condition.
Optionally, at least one card for release is located in the hand area; the card hand area is used for displaying cards of the target account number in the effective state in the current game;
or, at least one card for release is located in the combat zone; the battle area displays cards which are used and in an effective state for playing the current game;
or at least one card for release is positioned in the battle area and the hand area; the card area is used for displaying cards in an effective state owned by a target account number in the current game, and cards which are used for playing the current game and are in the effective state are displayed in the battle area.
The embodiment of the application provides a card cards operative installations, includes:
the determining module is used for responding to dragging operation of cards in a game fighting scene under a target account by the second terminal equipment, determining the target cards from at least one card for releasing in the hand area according to the position of a touch point of the dragging operation, displaying a skill releasing connecting line in the graphical user interface, and displaying prompt information which represents that the target cards are in a state to be released in the graphical user interface; two ends of the skill release connecting line are respectively connected with a virtual character controlled by the target account and the current position of the touch point of the dragging operation; the card hand area is used for displaying cards of the target account number in the effective state in the current game;
the playing module is used for responding to the releasing operation aiming at the target card by the second terminal equipment and acquiring the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card; and the second terminal equipment controls playing of the skill animation corresponding to the target card to be released to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance for the target card and meets the preset custom voice condition.
Corresponding to the card prompting voice method in fig. 1, an embodiment of the present application further provides a computer device 1000, as shown in fig. 10, the device includes a memory 1001, a processor 1002, and a computer program stored in the memory 1001 and executable on the processor 1002, wherein the card prompting voice method is implemented when the processor 1002 executes the computer program.
Specifically, the memory 1001 and the processor 1002 can be general-purpose memory and processor, which are not limited in particular, and when the processor 1002 runs the computer program stored in the memory 1001, the card prompting voice method can be executed, so that how to improve the accuracy of determining whether the card is released successfully in the prior art is solved.
Corresponding to the card prompting voice method in fig. 1, an embodiment of the present application further provides a computer readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the card prompting voice method.
Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk and the like, when a computer program on the storage medium is run, the card prompting voice method can be executed, the problem of how to improve the accuracy of determining whether the card is successfully released in the prior art is solved, a player can record a prompting voice meeting a preset user-defined condition for a target card in a game preparation interface, and in a game fighting interface, the prompting voice corresponding to the target card can be played in response to the releasing operation of the target card. The input of the prompt voice is realized by the player, so the prompt voice played in the game battle scene is easily recognized by the player, and the player can determine that the target cards are released after hearing the played prompt voice, thereby improving the accuracy of determining the successful release of the target cards by the player.
In the embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus once an item is defined in one figure, it need not be further defined and explained in subsequent figures, and moreover, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (22)

1. A card prompt voice determination method is characterized by comprising the following steps:
displaying a game preparation interface under a target account on first terminal equipment; a target card and a voice input key for releasing in a game battle scene are displayed in the game preparation interface;
the first terminal equipment responds to the triggering operation aiming at the voice input key, starts a voice input function and records reference voice in the process of starting the voice input function;
when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment stores the reference voice as a prompt voice of the target card;
and the second terminal equipment responds to the release operation of the target cards in the game fighting scene under the target account number, controls to release the skills corresponding to the target cards and plays the prompt voice of the target cards.
2. The method of claim 1, wherein the first terminal device and the second terminal device are the same device or wherein the first terminal device and the second terminal device are different devices.
3. The method of claim 1, wherein displaying the game preparation interface under the target account number on the first terminal device comprises:
displaying a game preparation interface under a target account on the first terminal equipment, and prompting content corresponding to the target card; wherein the prompt content is used for guiding a player to enter the reference voice corresponding to the prompt content.
4. The method of claim 3, wherein storing the reference voice as a prompt voice of the target card when the reference voice satisfies a preset custom voice condition corresponding to the target card comprises:
and when the similarity of the reference voice and the prompt content corresponding to the target card meets a similarity threshold, storing the reference voice as the prompt voice of the target card.
5. The method according to claim 4, wherein the similarity of the prompt content corresponding to the reference voice and the target card is determined to satisfy a similarity threshold when any one of the following conditions is met:
the voice similarity between the reference voice and the default prompt voice of the target card meets a similarity threshold; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the text prompt content of the target card; or the like, or, alternatively,
the voice recognition result of the reference voice is the same as the voice recognition result of the default prompt voice of the target card.
6. The method of claim 4, further comprising:
factor extraction is carried out on the reference voice to obtain each reference phoneme in the reference voice;
respectively calculating the matching probability of each reference phoneme and the reference phoneme in the preset self-defined speech condition;
and determining whether the reference voice meets a preset self-defined voice condition corresponding to the target card according to the matching probability of each reference phoneme.
7. The method of claim 6, wherein determining whether the reference speech satisfies a preset custom speech condition corresponding to the target card according to the matching probability of each reference phoneme comprises:
and determining whether the reference voice meets a preset user-defined voice condition corresponding to the target card according to the matching probability of the reference phoneme with the lowest matching probability in the reference voice.
8. The method according to claim 1, wherein when the reference voice meets a preset custom voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, and the method comprises the following steps:
when the reference voice meets a preset user-defined voice condition corresponding to the target card, the first terminal device displays a default voice use key corresponding to the target card and a reference voice use key corresponding to the target card in the game preparation interface;
the first terminal equipment responds to touch operation of the key used for the reference voice, and stores the reference voice as the prompt voice of the target card;
or the first terminal equipment responds to the touch operation of the default voice use key, and stores default prompt voice as the prompt voice of the target card.
9. The method of claim 1, wherein at least one sound change button is displayed in the game preparation interface;
when the reference voice is determined to meet a preset user-defined voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, and the method includes:
and when the reference voice meets the preset user-defined voice condition corresponding to the target card, the first terminal equipment responds to the touch operation aiming at the voice change key, and stores the reference voice subjected to voice change by adopting the voice change strategy corresponding to the voice change key as the prompt voice of the target card.
10. The method according to claim 1, wherein when the reference voice meets a preset custom voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, and the method comprises the following steps:
and when the reference voice is determined to meet a preset user-defined voice condition corresponding to the target card, the first terminal equipment changes the voice of the reference voice according to a preset voice changing strategy, and stores the changed voice as a prompt voice of the target card.
11. The method according to claim 1, wherein the first terminal device responds to a trigger operation for the voice input key, starts a voice input function, and records reference voice in the process of starting the voice input function, and the method comprises the following steps:
the first terminal equipment responds to the triggering operation aiming at the voice recording key, starts a voice recording function with a first preset time length and records reference voice in the process of starting the voice recording function; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card.
12. The method according to claim 1, wherein when the reference voice meets a preset custom voice condition corresponding to the target card, the first terminal device stores the reference voice as a prompt voice of the target card, and the method comprises the following steps:
the first terminal equipment intercepts invalid voice segments which are not recorded with player voices from the reference voice to obtain valid voice segments;
and when the effective voice fragment meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment stores the effective voice fragment as a prompt voice of the target card.
13. The method of claim 12, wherein the duration of the active speech segments is determined based on the duration of the skill animation corresponding to the target card.
14. The method of claim 12, wherein when the valid voice segment meets a preset custom voice condition corresponding to the target card, the first terminal device stores the valid voice segment as a prompt voice of the target card, and the method comprises:
when the effective voice fragment meets a preset user-defined voice condition corresponding to the target card, the first terminal equipment zooms the effective voice fragment so as to adjust the playing time length of the effective voice fragment to a first preset time length; the first preset time length is determined according to the playing time length of the skill animation corresponding to the target card;
and the first terminal equipment stores the effective voice segment with the playing time adjusted to the first preset time as the prompt voice of the target card.
15. The method as claimed in claim 1, wherein the second terminal device controls to release the skill corresponding to the target card and plays the prompt voice of the target card in response to the release operation of the target card in the game fighting scene under the target account number, and the method comprises:
the second terminal equipment responds to the selection operation of cards in the game fighting scene under the target account number, and determines target cards from the at least one cards for releasing according to the positions of touch points of the selection operation;
and the second terminal equipment responds to the release operation aiming at the target card, releases the skill corresponding to the target card to the position of the touch point of the release operation, and plays the prompt voice which is input by the player aiming at the target card in advance and meets the preset custom voice condition.
16. The method according to claim 15, wherein the second terminal device responds to a release operation for the target card, releases the skill corresponding to the target card to a position where a touch point of the release operation is located, and plays a prompt voice which is entered by a player in advance for the target card and meets a preset custom voice condition, and the method comprises:
the second terminal equipment responds to the release operation aiming at the target card, and obtains the playing time length of the skill animation of the target card and the playing time length of the prompt voice of the target card;
and the second terminal equipment controls playing of the skill animation corresponding to the target card to be released to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
17. The method of claim 15, wherein the at least one card for release is located in a hand area; the card hand area is used for displaying cards of a target account number in an effective state in the current game;
or, the at least one card for release is located in a combat zone; the combat zone displays cards which are used and in an effective state for playing the current game;
or, the at least one card for release is located in the battle area and the hand area; the card area is used for displaying cards in an effective state owned by a target account in the current game, and cards which are used for playing the current game and are in the effective state are displayed in the battle area.
18. A method of using a card, comprising:
the second terminal equipment responds to the selection operation of cards in a game fighting scene under the target account number, and determines target cards from the at least one cards for releasing according to the positions of touch points of the selection operation; at least one card for release is displayed in the game battle scene;
and the second terminal equipment responds to the release operation aiming at the target card, releases the skill corresponding to the target card to the position of the touch point of the release operation, and plays the prompt voice which is input by the player aiming at the target card in advance and meets the preset custom voice condition.
19. The method according to claim 18, wherein the second terminal device responds to a release operation for the target card, releases the skill corresponding to the target card to a position where a touch point of the release operation is located, and plays a prompt voice which is entered by a player in advance for the target card and meets a preset custom voice condition, and the method comprises:
the second terminal equipment responds to the release operation aiming at the target card, and obtains the playing time length of the skill animation of the target card and the playing time length of the prompt voice of the target card;
and the second terminal equipment controls playing of the skill animation corresponding to the target card to be released to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
20. A method of using a card, the method comprising:
the second terminal equipment responds to the dragging operation of the cards in a game fighting scene under the target account, determines the target cards from the at least one cards for releasing in the card hand area according to the position of the touch point of the dragging operation, displays a skill releasing connection line in the graphical user interface, and displays prompt information indicating that the target cards are in a state to be released in the graphical user interface; two ends of the skill release connecting line are respectively connected with the virtual character controlled by the target account and the current position of the touch point of the dragging operation; the card hand area is used for displaying cards of a target account number in an effective state in the current game;
the second terminal equipment responds to the release operation aiming at the target card, and obtains the playing time length of the skill animation of the target card and the playing time length of the prompt voice of the target card; and the second terminal equipment controls playing to release the skill animation corresponding to the target card to the position of the touch point of the release operation according to the playing time of the skill animation of the target card and the playing time of the prompt voice of the target card, and controls playing of the prompt voice which is recorded by the player in advance aiming at the target card and meets the preset custom voice condition.
21. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of the preceding claims 1-17, 18-19 and 20 are implemented by the processor when executing the computer program.
22. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of the preceding claims 1-17, 18-19 and 20.
CN202010532116.5A 2020-06-11 2020-06-11 Card prompting voice determination method and device, computer equipment and medium Pending CN113797540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010532116.5A CN113797540A (en) 2020-06-11 2020-06-11 Card prompting voice determination method and device, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010532116.5A CN113797540A (en) 2020-06-11 2020-06-11 Card prompting voice determination method and device, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN113797540A true CN113797540A (en) 2021-12-17

Family

ID=78943924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010532116.5A Pending CN113797540A (en) 2020-06-11 2020-06-11 Card prompting voice determination method and device, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN113797540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023125581A1 (en) * 2021-12-28 2023-07-06 北京字跳网络技术有限公司 Card-based interaction method and apparatus, computer device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023125581A1 (en) * 2021-12-28 2023-07-06 北京字跳网络技术有限公司 Card-based interaction method and apparatus, computer device and storage medium

Similar Documents

Publication Publication Date Title
US9403088B2 (en) Method of controlling computer device, storage medium, and computer device
US7785197B2 (en) Voice-to-text chat conversion for remote video game play
CN107715454A (en) Information processing method, device, electronic equipment and storage medium
JP2011255031A (en) Game program, game apparatus, and game controlling method
CN110992947B (en) Voice-based interaction method, device, medium and electronic equipment
CN113350802A (en) Voice communication method, device, terminal and storage medium in game
WO2022257502A1 (en) Interaction method, interaction apparatus, electronic device, and readable storage medium
CN113797540A (en) Card prompting voice determination method and device, computer equipment and medium
WO2010058731A1 (en) Game device, game device control method, information recording medium, and program
KR102466302B1 (en) Output system, sever and output method for game effect sound
JP6190189B2 (en) GAME PROGRAM AND GAME DEVICE
CN111176535B (en) Screen splitting method based on intelligent sound box and intelligent sound box
EP3964271A1 (en) User input method and apparatus
KR102365201B1 (en) System, sever and method for providing game character motion guide information
CN114452644A (en) Game interaction method and device, computer storage medium and electronic equipment
JP4993592B2 (en) GAME DEVICE, GAME PROGRESSING METHOD, AND GAME PROGRESSING PROGRAM
JP3996174B2 (en) GAME DEVICE, GAME PROGRESSING METHOD, AND GAME PROGRESSING PROGRAM
CN117679732A (en) Game interaction method, device, equipment and computer readable storage medium
US20240066415A1 (en) Speech assistance apparatus and method
WO2024066296A1 (en) Information display method and apparatus, device, storage medium and system
KR20200048899A (en) Output system, sever and output method for game effect sound
KR20200067815A (en) System, sever and method for contrllling game character
CN117667003A (en) NPC interactive content control method, device, equipment and medium based on speech speed data
CN116999800A (en) Game voice processing method, game voice processing device, computer equipment and storage medium
KR20200034202A (en) System, sever and method for contrllling game character

Legal Events

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