Game interaction method, device and equipment and computer readable storage medium
By automatically determining expressions and sending multimedia resources based on the game situation of virtual objects in the game screen, the problem of insufficient flexibility in game interaction is solved, and more accurate and efficient player communication is achieved.
Patent Information
- Application Number
- CN202410444424.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-12
- Publication Date
- 2025-10-21
AI Technical Summary
In existing Internet games, game interaction flexibility is poor, and the communication method between players is limited, and they can only send target expressions to teammates.
When the expression of a virtual object is displayed in the game game screen, the expression is automatically determined according to the game situation of the virtual object, and multimedia resources including expressions, text content or voice data are sent to the second virtual object to interact based on the position of the virtual object and the broadcast range of the expression or the game team.
The flexibility and efficiency of game interaction are improved, and the expression display is more in line with the actual situation, without the need for manual selection, which simplifies the interaction process and enhances the accuracy of information and the richness of interaction.
Smart Images

Figure CN120815331A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to a game interaction method, apparatus, device, and computer-readable storage medium. Background Art
[0002] With the popularization of Internet technology, Internet games have become an important part of public entertainment. In order to facilitate communication between players in the game, most Internet games have a chat function.
[0003] In the related art, a game screen is displayed, in which a virtual object and an expression window located in a virtual environment are displayed; in response to a trigger operation on the expression window, candidate expressions are displayed; in response to a trigger operation on a target expression among the candidate expressions, the target expression is sent to a teammate of the virtual object.
[0004] However, in the above-mentioned game interaction method, only target expressions can be sent to teammates, which makes the flexibility of game interaction poor. Summary of the Invention
[0005] The embodiments of the present application provide a game interaction method, apparatus, device, and computer-readable storage medium, which can be used to solve the problem of poor flexibility in game interaction in related technologies. The technical solution is as follows:
[0006] In a first aspect, an embodiment of the present application provides a game interaction method, the method comprising:
[0007] displaying a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object;
[0008] When the first expression is triggered, the first multimedia resource corresponding to the first expression is sent to the terminal device corresponding to the second virtual object, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
[0009] In a second aspect, an embodiment of the present application provides a game interaction method, the method comprising:
[0010] displaying a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object;
[0011] When the first expression is triggered, the first multimedia resource corresponding to the first expression is displayed, and the first multimedia resource includes at least one of the first expression, the first text content of the first expression in the target timbre, or the first voice data corresponding to the first expression.
[0012] In a third aspect, an embodiment of the present application provides a game interaction device, the device comprising:
[0013] A display module is configured to display a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object;
[0014] A sending module is used to send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
[0015] In a possible implementation, the first multimedia resource includes first voice data corresponding to the first expression;
[0016] The display module is further configured to display a timbre page, wherein the timbre page displays identifiers of a plurality of candidate timbres;
[0017] The device further comprises:
[0018] An acquisition module is used to acquire the first voice data in response to a trigger operation for identifying a target timbre among the multiple candidate timbres, wherein the timbre of the first voice data is the target timbre, and the text content of the first voice data is the first text content of the first expression under the target timbre.
[0019] In a possible implementation, the timbre page further displays a plurality of candidate expressions;
[0020] The acquisition module is further configured to, in response to a trigger operation for the target timbre identifier and a trigger operation for a second expression among the candidate expressions, acquire second voice data corresponding to the second expression, wherein the timbre of the second voice data is the target timbre, and the text content of the second voice data is the text content corresponding to the second expression at the target timbre;
[0021] The device further comprises:
[0022] A playing module is used to play the second voice data.
[0023] In one possible implementation, the display module is further used to display detailed information of the target timbre in the timbre page in response to a trigger operation for the identification of the target timbre, and the detailed information of the target timbre includes at least one of the name of the target timbre, the description content of the target timbre, or a virtual object that emits the target timbre.
[0024] In one possible implementation, among the multiple candidate timbre identifiers displayed in the timbre page, the identifiers of the timbre already owned by the game object are displayed in a first manner, and the identifiers of the timbre not owned by the game object are displayed in a second manner, and the game object is the object that controls the first virtual object.
[0025] In one possible implementation, the acquisition module is used to generate a voice data acquisition request based on the identifier of the target timbre and the identifier of the first expression, wherein the voice data acquisition request includes the identifier of the target timbre and the identifier of the first expression; send the voice data acquisition request to the server, and the voice data acquisition request is used by the server to obtain the first voice data corresponding to the identifier of the target timbre and the identifier of the first expression; and receive the first voice data returned by the server based on the voice data acquisition request.
[0026] In a possible implementation, the apparatus further includes:
[0027] A determination module is used to determine a target area based on the broadcast range corresponding to the first expression and the location of the first virtual object; determine the second virtual object among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
[0028] In a possible implementation, the display module is further configured to display the first expression in a reference area when the first expression is triggered, where the reference area is determined according to a position of the first virtual object.
[0029] In a possible implementation, a chat control is further displayed in the game screen, and the chat control is used to obtain chat information;
[0030] The display module is further configured to display at least one candidate chat information in response to a triggering operation on the chat control;
[0031] The sending module is further used to send a second multimedia resource to a terminal device corresponding to a third virtual object in response to a trigger operation on a target chat message in the at least one candidate chat message, wherein the second multimedia resource includes at least one of the target chat message or the third voice data corresponding to the target chat message, the game team to which the third virtual object belongs is the game team to which the first virtual object belongs, the text content corresponding to the third voice data is the target chat message, and the timbre of the third voice data is the target timbre.
[0032] In a possible implementation, the display module is further configured to display a text input box and a send control in response to a triggering operation on the chat control;
[0033] The device further comprises:
[0034] An acquisition module, used to acquire the text content entered in the text input box;
[0035] The acquisition module is further configured to acquire chat information based on the text content;
[0036] The sending module is also used to send a third multimedia resource to the terminal device corresponding to the third virtual object in response to a trigger operation on the sending control, and the third multimedia resource includes the chat information or the fourth voice data corresponding to the chat information, the text content corresponding to the fourth voice data is the chat information, and the timbre of the fourth voice data is the target timbre.
[0037] In a possible implementation, the display module is further configured to, in response to receiving a third expression sent by a terminal device corresponding to the fourth virtual object, display the third expression on the game game screen; and, when the third expression is triggered, display at least one candidate reply expression;
[0038] The display module is further configured to send the target reply expression to the terminal device corresponding to the fourth virtual object in response to a triggering operation on a target reply expression in at least one candidate reply expression.
[0039] In a fourth aspect, an embodiment of the present application provides a game interaction device, comprising:
[0040] A display module is configured to display a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object;
[0041] A display module is used to display a first multimedia resource corresponding to the first expression when the first expression is triggered, wherein the first multimedia resource includes at least one of the first expression, the first text content of the first expression in the target timbre, or the first voice data corresponding to the first expression.
[0042] In a possible implementation, the first multimedia resource includes the first emoticon, the first text content, and the first voice data;
[0043] The device further comprises:
[0044] an acquisition module, configured to acquire, when the first expression is triggered, first text content and first voice data corresponding to the first expression;
[0045] The display module is used to display the first expression and the first text content, and play the first voice data. The timbre corresponding to the first voice data is the target timbre, and the text content corresponding to the first voice data is the first text content.
[0046] In a possible implementation, the apparatus further includes:
[0047] A sending module is used to send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
[0048] In a possible implementation, the apparatus further includes:
[0049] a determination module, configured to determine a target area according to a broadcast range corresponding to the first expression and a location of the first virtual object;
[0050] The second virtual object is determined among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
[0051] In a fifth aspect, an embodiment of the present application provides a computer device, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements any of the above-mentioned game interaction methods.
[0052] In a sixth aspect, a computer-readable storage medium is also provided, wherein at least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned game interaction methods.
[0053] In the seventh aspect, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement any of the above-mentioned game interaction methods.
[0054] The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:
[0055] The technical solution provided in the embodiment of the present application displays a first expression determined based on the game situation of the first virtual object in the game game screen, which is more in line with the actual game situation of the game object, and the displayed information is more accurate. In addition, since the expression can be automatically displayed without manual selection of the game object, the display efficiency of the expression is improved.
[0056] Moreover, the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression, so that the second virtual object interacting with the first virtual object is not static, but changes with the change of at least one of the location or expression of the first virtual object, thereby improving the flexibility of game interaction.
[0057] In addition, the method provided in the present application can send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object simply by triggering the first expression, thereby realizing the interaction between the first virtual object and the second virtual object, so that the game interaction process does not require more operation steps, the interaction process is simpler, and the efficiency of game interaction is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0059] Figure 1 This is a schematic diagram of the structure of a computer system provided in an embodiment of the present application;
[0060] Figure 2 This is a flowchart of a game interaction method provided by an embodiment of the present application;
[0061] Figure 3 This is a schematic diagram of a game screen display provided by an embodiment of the present application;
[0062] Figure 4 This is a schematic diagram of a display of a tone color page provided in an embodiment of the present application;
[0063] Figure 5 This is a schematic diagram of another tone color page provided in an embodiment of the present application;
[0064] Figure 6 This is a schematic diagram of another tone color page provided in an embodiment of the present application;
[0065] Figure 7 This is a flow chart for determining a target timbre provided by an embodiment of the present application;
[0066] Figure 8 This is a schematic diagram showing a target tone identification display in use state provided by an embodiment of the present application;
[0067] Figure 9 This is a schematic diagram of displaying an emoticon page provided in an embodiment of the present application;
[0068] Figure 10 This is a schematic diagram of another game screen display provided by an embodiment of the present application;
[0069] Figure 11 This is a schematic diagram of another game screen display provided by an embodiment of the present application;
[0070] Figure 12 This is a schematic diagram of a display of a settings page provided in an embodiment of the present application;
[0071] Figure 13 This is a flowchart of a game interaction method provided by an embodiment of the present application;
[0072] Figure 14 This is a structural diagram of a game interaction device provided in an embodiment of the present application;
[0073] Figure 15 This is a structural diagram of a game interaction device provided in an embodiment of the present application;
[0074] Figure 16 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0075] Figure 17 This is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0076] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0077] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0078] First, the abbreviations and key terms involved in the embodiments of the present application are defined.
[0079] Virtual environment: refers to the environment provided (or displayed) when an application is running on a terminal device. This virtual environment is the environment created for virtual objects to carry out activities. A virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment. A virtual environment can be a simulation of the real world, a semi-simulation of the real world, or a purely fictional environment. For example, the virtual environment involved in the embodiments of this application is a three-dimensional virtual environment.
[0080] Virtual objects refer to movable objects within a virtual environment. These movable objects can be virtual characters, virtual animals, or animated characters. Players can manipulate virtual objects through external components or by tapping the touchscreen display. Each virtual object has its own unique shape and volume within the virtual environment and occupies a portion of the virtual space. For example, in a three-dimensional virtual environment, virtual objects are three-dimensional models created using animation skeletal technology.
[0081] Figure 1 This is a schematic diagram of the structure of a computer system provided in an embodiment of the present application. Figure 1 As shown, the computer system includes: a terminal device 101 and a server 102. Among them, a game client capable of providing a virtual environment is installed and running in the terminal device 101. The game interaction method provided in the embodiment of the present application can be executed by the terminal device 101 or by the terminal device 101 and the server 102. This embodiment of the present application is not limited to this.
[0082] Server 102 provides backend services for a game client installed on terminal device 101 that provides a virtual environment. In one possible implementation, server 102 performs primary computing tasks, while terminal device 101 performs secondary computing tasks. Alternatively, server 102 performs secondary computing tasks, while terminal device 101 performs primary computing tasks. Alternatively, terminal device 101 and server 102 utilize a distributed computing architecture for collaborative computing.
[0083] For example, a game client capable of providing a virtual environment may be a third-person shooter (TPS) game, a first-person shooter (FPS) game, a multiplayer online tactical competitive (MOBA) game, a multiplayer shooting survival game, a massively multiplayer online role-playing game (MMO), an action role-playing game (ARPG), a virtual reality (VR) client, an augmented reality (AR) client, a three-dimensional map program, a map simulation program, a social client, an interactive entertainment client, and the like. A game client may refer to a client that needs to be downloaded and installed independently, or it may refer to an embedded program that relies on a host program to run. An embedded program is an application developed based on a programming language and relies on a host program to run. An embedded program does not need to be downloaded and installed, but only needs to be dynamically loaded in the host program to run. Embedded programs include, but are not limited to, applets, and the embodiments of the present application do not limit the type of game client. Users can find the embedded program they need by searching, scanning, etc., click to run it, and close it after use without occupying the terminal device's memory, which is very convenient. In addition, the game client in the embodiment of the present application can be a frame-synchronized game client. In other words, the game interaction method provided in the embodiment of the present application can be applied to a frame-synchronized game client.
[0084] Optionally, the terminal device 101 may be any electronic device that can interact with a user through one or more methods such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, the terminal device 101 may be a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a smart car computer, a smart TV, etc.
[0085] Terminal device 101 may generally refer to one of multiple terminal devices. This embodiment uses terminal device 101 as an example. Those skilled in the art will appreciate that the number of terminal devices 101 may be greater or lesser. For example, there may be only one terminal device 101, or there may be dozens, hundreds, or even more terminal devices 101. This embodiment of the application does not limit the number or type of terminal devices 101.
[0086] The server 102 is a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server 102 is directly or indirectly connected to the terminal device 101 via a wired communication method or a wireless communication method. The server 102 has a data receiving function, a data processing function, and a data sending function. Of course, the server 102 can also have other functions, which are not limited in the embodiments of the present application.
[0087] In an exemplary embodiment of the present application, a terminal device 101 displays a game screen 103 based on the game interaction method provided in an embodiment of the present application. The game screen 103 displays a first virtual object 104 and a first expression 105 located in a virtual environment. The first expression 105 is determined based on the game situation of the first virtual object 104. When the first expression 105 is triggered, the terminal device 101 obtains the first text content and first voice data of the first expression 105 at a target timbre, where the timbre of the first voice data is the target timbre and the text content of the first voice data is the first text content; determines a second virtual object based on at least one of the location of the first virtual object 104, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression; and then sends a first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object. The first multimedia resource includes at least one of the first expression, the first text content, or the first voice data.
[0088] When the first expression is triggered, the first multimedia resource may also be displayed in the game screen 103 , so that the game object can have a more complete understanding of the first expression.
[0089] Those skilled in the art should understand that the above-mentioned terminal device 101 and server 102 are merely examples, and other existing or future terminal devices or servers, if applicable to the present application, should also be included in the scope of protection of the present application and are incorporated herein by reference.
[0090] The present application embodiment provides a game interaction method, which can be applied to the above Figure 1 The computer system shown in Figure 2 As an example, the flowchart of a game interaction method provided in the embodiment of the present application is shown. The method can be performed by Figure 1 The terminal device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 202.
[0091] In step 201, a game game screen is displayed, in which a first virtual object and a first expression in a virtual environment are displayed. The first expression is determined based on the game situation of the first virtual object.
[0092] In one possible implementation, relevant information of the game client is displayed on the display interface of the terminal device. The relevant information of the game client may be an icon of the game client, a name of the game client, or other information that can represent the game client. The embodiment of the present application does not limit the relevant information of the game client.
[0093] When the game object wants to open the game client, the game object selects the relevant information of the game client, the terminal device receives the selection operation for the relevant information of the game client, opens the game client, displays the homepage of the game client, and displays the start control on the homepage of the game client. The start control is used to start a game. In response to the trigger operation for the start control, the game game screen is displayed, and the first virtual object located in the virtual environment is displayed on the game game screen. Among them, the relevant information of the game client selected by the game object can be the relevant information of the game client clicked by the game object, or it can be the relevant information of the game client double-clicked by the game object. The game object can also select the relevant information of the game client in other ways, and the embodiments of the present application do not limit this. The trigger operation for the start control can be clicking the start control, or double-clicking the start control, or triggering the start control in other ways, and the embodiments of the present application do not limit this.
[0094] Optionally, other virtual objects may also be displayed in the game game screen. The other virtual objects may be virtual objects belonging to the same game team as the first virtual object, that is, friend virtual objects of the first virtual object, or virtual objects belonging to a different game team from the first virtual object, that is, hostile virtual objects of the first virtual object and / or neutral virtual objects included in the game client (for example, non-player controlled virtual objects (Non-Player Character, NPC) included in the game client). This embodiment of the present application does not limit this.
[0095] The game object can control a first virtual object displayed on a game play screen to change a game state of the first virtual object. The game state of the first virtual object includes, but is not limited to, an object state of the first virtual object. Some object states correspond to expressions, that is, some object states have expressions that match the object state. When the object state of the first virtual object corresponds to an expression, a first expression corresponding to the object state of the first virtual object is determined, and the first expression is then displayed on the game play screen.
[0096] Optionally, the terminal device determines the object state of the first virtual object by obtaining the object state of the first virtual object sent by the server, or by determining the object state of the first virtual object by the terminal device itself.
[0097] The process of the terminal device independently determining the object state of the first virtual object includes: a state machine running in the terminal device, calling the state machine to determine the object state of the first virtual object. Before sending the object state of the first virtual object to the terminal device, the server needs to first determine the object state of the first virtual object. The process of the server determining the object state of the first virtual object is similar to the process of the terminal device determining the object state of the first virtual object described above, and will not be further described in this embodiment of the present application.
[0098] For example, when the state machine detects that a first virtual object has pinned a reference virtual object beneath a defense tower of the first virtual object's team, the state of the first virtual object is determined to be a teasing opponent state, and the first expression determined based on the first virtual object's state is a teasing opponent expression. The reference virtual object is a virtual object that belongs to a different team than the first virtual object.
[0099] For another example, when the state machine detects that a first virtual object is hiding in bushes and that a target virtual object and a reference virtual object are located near the first virtual object, the state of the first virtual object is determined to be a ready-to-grab state, and the first expression determined based on the first virtual object's state is a ready-to-grab expression. The target virtual object is a virtual object that belongs to the same game team as the first virtual object.
[0100] For another example, when the state machine detects that the first virtual object kills the reference virtual object while its health value is less than a health threshold, or that the first virtual object enters the defense tower of the game team where the reference virtual object is located and kills the reference virtual object while its health value is less than a health threshold, the object state of the first virtual object is determined to be a provocative state, and the first expression determined based on the object state of the first virtual object is a provocative expression. The health threshold is set based on experience or adjusted according to the implementation environment, and this is not limited in this embodiment of the present application. For example, the health threshold is 10.
[0101] For another example, when the state machine detects that the first virtual object returns to the city and there is a target virtual object near the first virtual object, the object state of the first virtual object is determined to be the return state, and the first expression determined according to the object state of the first virtual object is the return expression.
[0102] It should be noted that the embodiments of the present application only use the above four object states and corresponding expressions as examples for illustration, and do not limit the object states and corresponding expressions.
[0103] like Figure 3 This is a schematic diagram showing a game screen provided by an embodiment of the present application. Figure 3 The game screen shown shows a first virtual object 301. Since the object state of the first virtual object 301 is a teasing opponent state, the game screen also shows a first expression 302 that matches the teasing opponent state.
[0104] Optionally, other content may be displayed on the game screen, see Figure 3 As shown, the embodiment of the present application will not be described in detail here. Figure 3 Content other than that included in the game match screen shown.
[0105] In step 202, when the first expression is triggered, the first multimedia resource corresponding to the first expression is sent to the terminal device corresponding to the second virtual object, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
[0106] In one possible implementation, the first multimedia resource includes at least one of a first expression, a first text content of the first expression under a target timbre, or first voice data corresponding to the first expression, the timbre of the first voice data is the target timbre, and the text content corresponding to the first voice data is the first text content.
[0107] Because the first multimedia resource includes first voice data corresponding to the first expression, before sending the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object, it is necessary to first obtain the first voice data. This embodiment of the present application does not limit the process of obtaining the first voice data. Optionally, the process of obtaining the first voice data includes: displaying a timbre page, wherein the timbre page displays the identifiers of multiple candidate timbres; and obtaining the first voice data in response to a trigger operation for the identifier of a target timbre among the candidate timbres.
[0108] The identifier of the candidate timbre can be an icon of the candidate timbre, a name of the candidate timbre, or any other identifier that uniquely represents a candidate timbre. The candidate timbre can be the timbre of any virtual object included in the game client, the timbre of a celebrity, or a custom timbre, which is not limited in this embodiment of the application.
[0109] Optionally, in response to a trigger operation for identifying a target timbre, the process of obtaining the first voice data includes: in response to a trigger operation for identifying a target timbre, using the target timbre as the timbre corresponding to the voice data sent in the game, the target timbre being any one of a plurality of candidate timbres; and obtaining the first voice data when the first expression is triggered.
[0110] Among them, when the first expression is triggered, the process of obtaining the first voice data includes but is not limited to: when the first expression is triggered, based on the identifier of the target timbre and the identifier of the first expression, generating a voice data acquisition request, the voice data acquisition request including the identifier of the target timbre and the identifier of the first expression; sending the voice data acquisition request to the server, the voice data acquisition request is used by the server to obtain the first voice data corresponding to the identifier of the target timbre and the identifier of the first expression; receiving the first voice data returned by the server according to the voice data acquisition request.
[0111] In one embodiment of the present application, a server stores voice data corresponding to various timbres and expressions. After receiving a voice data acquisition request, the server parses the voice data acquisition request to obtain an identifier of a target timbres and an identifier of a first expression. Based on the identifier of the target timbres, the server acquires multiple pieces of voice data corresponding to the target timbres, and determines, within the multiple pieces of voice data corresponding to the target timbres, the first piece of voice data corresponding to the identifier of the first expression.
[0112] In another embodiment of the present application, after receiving the voice data acquisition request, the server parses the voice data acquisition request to obtain the identifier of the target timbre and the identifier of the first expression. The server obtains the first text content corresponding to the first expression under the target timbre based on the identifier of the target timbre and the identifier of the first expression; and obtains the first voice data corresponding to the first expression based on the target timbre and the first text content.
[0113] Optionally, an application for generating voice data is running in the server. The process of obtaining the first voice data corresponding to the first expression based on the target timbre and the first text content includes: the server inputs the identifier of the target timbre and the first text content into the application for generating voice data, and uses the content output by the application for generating voice data as the first voice data.
[0114] In one possible implementation, the game client's homepage also displays a collection widget, which is used to display a sound page. Displaying the sound page includes: displaying the sound page in response to a trigger operation on the collection widget. Specifically, the sound page is displayed before the game match screen. In other words, before entering a game match, the target sound must be determined in the sound page. Then, after entering a game match and displaying the game match screen, when a first expression is triggered, the first voice data corresponding to the first expression is obtained.
[0115] In one embodiment of the present application, among the identifiers of multiple candidate timbres displayed on the timbre page, the identifiers of the timbres already owned by the game object are displayed in a first manner, and the identifiers of the timbres not owned by the game object are displayed in a second manner. Wherein, the game object is the object that controls the first virtual object. Exemplarily, being displayed in the first manner means that no lock is displayed on the identifier, and being displayed in the second manner means that a lock is displayed on the identifier. The first manner and the second manner may also be other manners, and as long as the first manner and the second manner are different, the embodiment of the present application does not limit this. The different display modes make it possible for the game object to intuitively see which timbres the game object already has and which timbres the game object does not have, and the displayed information is more targeted, making it easier for the game object to view.
[0116] like Figure 4: This is a schematic diagram of a display of a timbre page provided in an embodiment of the present application. The timbre page displays the identifiers of 9 candidate timbres, namely the identifier 401 of the first candidate timbre to the identifier 409 of the ninth candidate timbre. Among them, the identifier 401 of the first candidate timbre, the identifier 404 of the fourth candidate timbre, the identifier 406 of the sixth candidate timbre, the identifier 407 of the seventh candidate timbre, and the identifier 408 of the eighth candidate timbre are displayed in the first mode (no lock is displayed on the identifier); the identifier 402 of the second candidate timbre, the identifier 403 of the third candidate timbre, the identifier 405 of the fifth candidate timbre, and the identifier 409 of the ninth candidate timbre are displayed in the second mode (lock is displayed on the identifier), that is, the game object already has the first candidate timbre, the fourth candidate timbre, the sixth candidate timbre, the seventh candidate timbre, and the eighth candidate timbre; the game object does not have the second candidate timbre, the third candidate timbre, the fifth candidate timbre, and the ninth candidate timbre.
[0117] Optionally, the timbre page also displays an already owned control, which is used to display the identifier of the timbre that the game object already has, such as Figure 4 410 in the figure is an already owned control. In response to the trigger operation for the already owned control, the identifier of the timbre owned by the game object is displayed in the timbre page. Figure 5 This is a schematic diagram showing another tone color page provided by an embodiment of the present application. Figure 5 The displayed sound page shows the identifiers of each sound that the game object already has.
[0118] It should be noted that the embodiments of the present application do not limit the manner in which a game object possesses a timbre. For example, the game client includes a game store, which includes multiple timbres, and the game object possesses a timbre by purchasing the timbre in the game store. Alternatively, when the game level of the game object is greater than a level threshold, the timbre corresponding to the level threshold can be issued to the game object so that the game object possesses the timbre corresponding to the level threshold. The level threshold is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. For example, the level threshold is level 10.
[0119] In one possible implementation, in response to a trigger operation for identifying a target timbre, a usage control is displayed in the timbre page; in response to a trigger operation for using the control, and the game object already has the target timbre, the target timbre is used as the timbre corresponding to the voice data sent in the game match.
[0120] In response to a trigger operation for a control, a determination is made as to whether the game object already possesses the target timbre. If so, the target timbre is used as the timbre corresponding to the voice data sent during the game. If the game object does not possess the target timbre, a notification message is displayed indicating that the target timbre is unavailable and that the game object needs to select another timbre. Optionally, the notification message can be displayed overlaid on the timbre page.
[0121] The embodiments of the present application do not limit the method for determining whether a game object already possesses a target timbre. Optionally, the process of determining whether a game object already possesses a target timbre includes: generating a confirmation request based on the object identifier of the game object and the identifier of the target timbre, the confirmation request including the object identifier of the game object and the identifier of the target timbre; sending the confirmation request to a server; the server receiving the confirmation request and parsing the confirmation request to obtain the object identifier of the game object and the identifier of the target timbre. The server stores the correspondence between the object identifier of each object and the identifier of the timbre already possessed by each object. The server determines the identifier of the timbre already possessed by the game object based on the object identifier of the game object and the correspondence between the object identifier of each object and the identifier of the timbre already possessed by each object; and determining whether the game object already possesses the target timbre based on the identifier of the timbre already possessed by the game object and the identifier of the target timbre. Optionally, if the identifier of the timbre already possessed by the game object includes the identifier of the target timbre, then the game object is determined to possess the target timbre; if the identifier of the timbre already possessed by the game object does not include the identifier of the target timbre, then the game object is determined to not possess the target timbre.
[0122] like Figure 6 This is a schematic diagram of another tone color page provided in an embodiment of the present application. Figure 6 In (1) of the game object, the first tone mark is selected, and then the Figure 6 (2) in which a use control 601 is displayed. In response to a trigger operation for the use control, and the game object already has a first timbre, the first timbre is used as the timbre corresponding to the voice data sent in the game match.
[0123] like Figure 7 This is a flow chart of determining the target timbre provided by the embodiment of the present application. Figure 7 In the figure, a timbre page is displayed, in which the identifiers of multiple candidate timbres are displayed; in response to a trigger operation for the identifier of a target timbre, a usage control is displayed; in response to a trigger operation for the usage control, it is determined whether the game object already has the target timbre; based on the game object already having the target timbre, the target timbre is used as the timbre corresponding to the voice data sent in the game; based on the game object not having the target timbre, a notification message is displayed.
[0124] Optionally, in response to a trigger operation on the identifier of the target timbre, the identifier of the target timbre is displayed as a selected state. Figure 6 The first timbre in (2) is displayed as a selected state. After the target timbre is used as the timbre corresponding to the voice data sent in the game, the target timbre is displayed as a used state, such as Figure 8 This is a schematic diagram showing a target tone identification display in use status provided by an embodiment of the present application.
[0125] In response to the trigger operation for the target timbre identification, detailed information of the target timbre is also displayed in the timbre page, and the detailed information of the target timbre includes the name of the target timbre, the description of the target timbre and the virtual object that emits the target timbre. Figure 6 In (2), "Giant God Peak·Playful" is the name of the target tone, "Playful and cute" is the description of the target tone, and 602 is a virtual object that emits the target tone.
[0126] In a possible implementation, the voice page also displays multiple candidate expressions, such as Figure 4 411 in the example includes multiple candidate expressions. In response to a trigger operation for the target timbre and a trigger operation for a second expression among the candidate expressions, second voice data corresponding to the second expression is obtained; and the second voice data is played. The timbre of the second voice data is the target timbre, and the text content of the second voice data is the text content corresponding to the second expression at the target timbre.
[0127] The process of obtaining the second voice data corresponding to the second expression is similar to the process of obtaining the first voice data corresponding to the first expression. For details, please refer to the process of obtaining the first voice data corresponding to the first expression. The embodiment of the present application will not be repeated here.
[0128] In response to the triggering operation for the second expression, at least one of the broadcast range corresponding to the second expression or the game team corresponding to the second expression can also be displayed in the tone page. The game team corresponding to the second expression can be our game team, the enemy game team, or both our game team and the enemy game team. Figure 6 The "8 meters" shown in (2) is the broadcast range corresponding to the second expression, and "our side" is the game team corresponding to the second expression.
[0129] Since the game client includes a large number of expressions, the number of expressions displayed in the tone page is limited, so the tone page can also display all controls, such as Figure 4 412 in the figure is all controls, and all controls are used to display all expressions included in the game client. In response to the trigger operation for all controls, the expression page is displayed, and all expressions included in the game client are displayed in the expression page. Figure 9 This is a schematic diagram of an emoticon page provided in an embodiment of the present application. It displays all emoticons included in the game client. If the game client includes a large number of emoticons, resulting in an incomplete display on the terminal device's display screen, you can change the emoticons included in the game client on the display screen by sliding the display screen up or down or left or right.
[0130] In one possible implementation, after determining the target timbre, when the first expression is triggered, the terminal device can obtain the first voice data by: when the first expression is triggered, obtaining the first text content of the first expression under the target timbre, and obtaining the first voice data based on the first text content and the target timbre.
[0131] Because the same expression has different corresponding text content in different timbres, for example, the text corresponding to the provocative expression in the standard timbre is "Come here!"; the text corresponding to the provocative expression in the domineering timbre is "Come out, coward!"; and the text corresponding to the provocative expression in the charming timbre is "Come here, baby." Therefore, when the target timbre is determined and the first expression is triggered, the process of obtaining the first voice data and sending the first voice data to the terminal device corresponding to the second virtual object makes game interactions more interesting, personalized, and spreadable.
[0132] Optionally, the process of obtaining the first text content corresponding to the first expression under the target timbre includes: generating a text acquisition request based on the identifier of the first expression and the identifier of the target timbre, the text acquisition request including the identifier of the first expression and the identifier of the target timbre; and sending the text acquisition request to the server. The server stores the text content corresponding to each expression under each timbre. The server receives the text acquisition request, parses the text acquisition request, obtains the identifier of the first expression and the identifier of the target timbre, and determines the text content corresponding to the first expression under each timbre based on the identifier of the first expression; and determines the first text content corresponding to the first expression under the target timbre from the text content corresponding to the first expression under each timbre based on the identifier of the target timbre. The server sends the first text content corresponding to the first expression under the target timbre to the terminal device, so that the terminal device obtains the first text content corresponding to the first expression under the target timbre.
[0133] An application for generating voice data runs on the terminal device. The terminal device inputs a target timbre identifier and first text content into the application for generating voice data, and uses the content output by the application for generating voice data as the first voice data. Alternatively, the terminal device sends the first text content and the target timbre identifier to a server, so that the server generates the first voice data based on the first text content and the target timbre identifier. The server then sends the first voice data to the terminal device, so that the terminal device acquires the first voice data.
[0134] Because the first multimedia resource includes the first text content, before sending the first multimedia resource to the terminal device corresponding to the second virtual object, it is necessary to first obtain the first text content. The process of obtaining the first text content has been described above and will not be repeated here.
[0135] In one possible implementation, before sending the first multimedia resource to the terminal device corresponding to the second virtual object, the second virtual object must first be determined. The second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression. Alternatively, the second virtual object can be determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression in the following seven implementations.
[0136] Implementation method 1: Determine the second virtual object according to the position of the first virtual object.
[0137] In this implementation, a virtual object located within a first circle centered at the location of the first virtual object and having a first length as a radius is used as the second virtual object. The first length is set based on experience or adjusted according to the implementation environment, and is not limited in this embodiment of the present application.
[0138] Implementation method 2: Determine the second virtual object according to the broadcast range corresponding to the first expression.
[0139] In this implementation, a virtual object located within a second circle with the first position as the center and the broadcast range corresponding to the first expression as the radius is used as the second virtual object. The first position is any position in the virtual environment, which is not limited in this embodiment of the application.
[0140] Implementation method three: determining the second virtual object according to the game team corresponding to the first expression.
[0141] In this implementation, the virtual object of the game team corresponding to the first expression is used as the second virtual object.
[0142] Implementation method 4: Determine the second virtual object according to the location of the first virtual object and the broadcast range corresponding to the first expression.
[0143] In this implementation, a virtual object located within a third circle with the position of the first virtual object as the center and the broadcast range corresponding to the first expression as the radius is used as the second virtual object.
[0144] Implementation method five: determining the second virtual object according to the position of the first virtual object and the game team corresponding to the first expression.
[0145] In this implementation, among the virtual objects located within a fourth circle centered at the location of the first virtual object and having a radius of the second length, the virtual object corresponding to the team corresponding to the first expression is used as the second virtual object. The second length is set based on experience or adjusted according to the implementation environment, and is not limited in this embodiment of the application.
[0146] Implementation method six: determining the second virtual object according to the broadcast range corresponding to the first expression and the game team corresponding to the first expression.
[0147] In this implementation, among the virtual objects located within a fifth circle defined by the second position as the center and the broadcast range corresponding to the first expression as the radius, the virtual object whose corresponding game team is the game team corresponding to the first expression is used as the second virtual object. The second position can be any position in the virtual environment and is not limited in this embodiment of the application.
[0148] Implementation method seven: determining the second virtual object according to the location of the first virtual object, the broadcast range corresponding to the first expression, and the game team corresponding to the first expression.
[0149] In this implementation, the target area is determined based on the broadcast range corresponding to the first expression and the location of the first virtual object; the second virtual object is determined among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
[0150] The embodiments of the present application do not limit the process of determining the target area based on the broadcast range corresponding to the first expression and the location of the first virtual object. Optionally, the process of determining the target area based on the broadcast range corresponding to the first expression and the location of the first virtual object includes: determining a circle with the location of the first virtual object as the center and the broadcast range corresponding to the first expression as the radius; and determining the area covered by the circle as the target area.
[0151] For example, the broadcast range corresponding to the first expression is 8 meters, and the position of the first virtual object is (x, y, z). Then the area covered by the circle with (x, y, z) as the center and a radius of 8 meters is used as the target area.
[0152] The process of determining the second virtual object among the virtual objects located in the target area includes: obtaining position information of the virtual objects located in the virtual environment; using the virtual object whose position indicated by the position information is located in the target area as the virtual object located in the target area; and using the virtual object of the virtual object located in the target area whose game team belongs to the game team corresponding to the first expression as the second virtual object.
[0153] Optionally, if the game team corresponding to the first expression is the friendly game team, then a virtual object located in the target area whose game team is the same as the game team to which the first virtual object belongs is used as the second virtual object. If the game team corresponding to the first expression is the enemy game team, then a virtual object located in the target area whose game team is not the game team to which the first virtual object belongs is used as the second virtual object.
[0154] For example, the game team corresponding to the first expression is our game team, the game team to which the first virtual object belongs is the first game team, and there are five virtual objects in the target area besides the first virtual object. Among them, the game team to which the first virtual object belongs is the first game team, the game team to which the second virtual object belongs is the second game team, the game team to which the third virtual object belongs is the second game team, the game team to which the fourth virtual object belongs is the first game team, and the game team to which the fifth virtual object belongs is the first game team. Therefore, the first virtual object, the fourth virtual object, and the fifth virtual object are regarded as the second virtual object.
[0155] In one possible implementation, after determining the second virtual object, sending the first multimedia resource to the terminal device corresponding to the second virtual object includes: the terminal device sending the first multimedia resource to the terminal device corresponding to the second virtual object. Alternatively, the terminal device sends the object identifier of the second virtual object and the first multimedia resource to a server; the server determines the second virtual object based on the object identifier of the second virtual object; and then sends the first multimedia resource to the terminal device corresponding to the second virtual object. This allows for more accurate delivery of multimedia resources without affecting unrelated game players.
[0156] In the case where the first multimedia resource includes at least one of the first expression or the first text content and the first voice data, after the terminal device sends the first multimedia resource to the terminal device corresponding to the second virtual object, the terminal device corresponding to the second virtual object can play the first voice data and display at least one of the first expression or the first text content. In this way, when the control object of the second virtual object turns on the voice in the game, the first voice data can be heard. When the control object of the second virtual object does not turn on the voice in the game, that is, when the control object of the second virtual object cannot hear the first voice data, the content sent by the game object can be understood by viewing at least one of the first expression or the first text content displayed on the terminal device corresponding to the second virtual object.
[0157] In one possible implementation, when the first expression is triggered, the first expression can also be displayed in a reference area, where the reference area is determined according to the position of the first virtual object. Exemplarily, the reference area is the area covered by a circle with the position of the first virtual object as the center and the target length as the radius. Of course, the reference area can also be an area above the position of the first virtual object, or an area below the position of the first virtual object, or an area to the left of the position of the first virtual object, or an area to the right of the position of the first virtual object. By displaying the first expression in the reference area, the game object can know that it has sent an expression to the second virtual object.
[0158] When the first emoticon is triggered, the first text content may be displayed on the game screen and the first voice data may be played. This allows the game object to know the first text content corresponding to the first emoticon displayed on the game screen and hear the first voice data corresponding to the first emoticon, thereby enabling the game object to have a more comprehensive understanding of the first emoticon. Optionally, the first text content may be displayed in the chat area of the game screen.
[0159] like Figure 10 This is another schematic diagram of a game screen provided by an embodiment of the present application. Figure 10 In the game game screen shown, a first expression 1002 is displayed above the head of the first virtual object 1001, and the first text content displayed is "Don't hide under the tower".
[0160] In one embodiment of the present application, when a first expression is triggered, the process of sending a first multimedia resource to a terminal device corresponding to a second virtual object includes: the terminal device sends an identifier of the first expression, the location of the first virtual object, and an identifier of the target timbre to a server; the server receives the identifier of the first expression, the location of the first virtual object, and an identifier of the target timbre; the server determines the broadcast range corresponding to the first expression and the game team corresponding to the first expression based on the identifier of the first expression; the server determines the second virtual object based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression. The server obtains the first text content and first voice data of the first expression under the target timbre based on the identifier of the first expression and the identifier of the target timbre; the server sends the first multimedia resource to the terminal device corresponding to the second virtual object, the first multimedia resource including at least one of the first expression, the first text content, or the first voice data.
[0161] Among them, the process of the server determining the second virtual object based on the location of the first virtual object, the broadcast range corresponding to the first expression, or at least one of the game teams corresponding to the first expression is similar to the process of the above-mentioned terminal device determining the second virtual object. The process of the server obtaining the first text content and the first voice data of the first expression under the target timbre based on the identifier of the first expression and the identifier of the target timbre has been described above and will not be repeated here.
[0162] In a possible implementation, a chat control is also displayed in the game screen, and the chat control is used to send chat messages, such as Figure 3 303 in the example is a chat control. In response to a trigger operation on the chat control, at least one candidate chat message is displayed. In response to a trigger operation on a target chat message among the at least one candidate chat message, a second multimedia resource is sent to the terminal device corresponding to the third virtual object. The second multimedia resource includes at least one of the target chat message or third voice data corresponding to the target chat message. The game team to which the third virtual object belongs is the game team to which the first virtual object belongs, the text content corresponding to the third voice data is the target chat message, and the timbre of the third voice data is the target timbre.
[0163] Optionally, in response to a trigger operation on the chat control, the process of displaying at least one candidate chat message includes: in response to the trigger operation on the chat control, displaying a chat message page, wherein the chat message page displays at least one candidate chat message. Exemplarily, the chat message page is displayed superimposed on the game game screen.
[0164] like Figure 11 This is another schematic diagram of a game screen provided by an embodiment of the present application. Figure 11In (1), in response to the trigger operation on the chat control 1101, the display Figure 11 (2) in Figure 11 In (2), a chat information page 1102 is displayed, and at least one candidate chat message is displayed in the chat information page 1102.
[0165] Optionally, based on the fact that the second multimedia resource includes third voice data, in response to a trigger operation for a target chat message in at least one candidate chat message, before sending the second multimedia resource to the terminal device corresponding to the third virtual object, it is necessary to first obtain the third voice data. The process of obtaining the third voice data includes: in response to a trigger operation for a target chat message in at least one candidate chat message, obtaining the third voice data according to the target chat information and the target timbre.
[0166] The process of acquiring the third voice data based on the target chat information and the target timbre is similar to the process of acquiring the first voice data corresponding to the first expression based on the target timbre and the first text content, and is not further described in detail in this embodiment of the present application. The process of sending the second multimedia resource to the terminal device corresponding to the third virtual object is similar to the process of sending the first multimedia resource to the terminal device corresponding to the second virtual object, and is not further described in detail in this embodiment of the present application.
[0167] Optionally, in response to a triggering operation on a target chat message in at least one candidate chat message, the terminal device may also play third voice data.
[0168] If the second multimedia resource includes the target chat information and the third voice data, after the second multimedia resource is sent to the terminal device corresponding to the third virtual object, the terminal device corresponding to the third virtual object can display the target chat information and play the third voice data. In this way, if the controller of the third virtual object has enabled voice chat within the game, the controller can understand the content sent by the game object through the played third voice data. If the controller of the third virtual object has not enabled voice chat within the game and cannot hear the third voice data, the controller of the third virtual object can view the content sent by the game object through the displayed target chat information.
[0169] In a possible implementation, in response to a trigger operation on a chat control, a text input box and a send control may also be displayed, the text input box being used to obtain chat information, and the send control being used to send chat information, such as Figure 111103 is a text input box, and 1104 is a send control. The text content entered in the text input box is obtained; based on the text content, a chat message is obtained; and in response to a triggering operation on the send control, a third multimedia resource is sent to the terminal device corresponding to the third virtual object. The third multimedia resource includes the chat message and fourth voice data corresponding to the chat message. The text content of the fourth voice data is the chat message, and the timbre of the fourth voice data is the target timbre. In response to the triggering operation on the send control, the terminal device can also play the fourth voice data.
[0170] According to the text content, the process of obtaining the chat information includes: using the text content as the chat information; or using the content matching the text content as the chat information.
[0171] In the case where the third multimedia resource includes fourth voice data, before sending the third multimedia resource to the terminal device corresponding to the third virtual object in response to the trigger operation of the sending control, the fourth voice data must be obtained first. The process of obtaining the fourth voice data includes: in response to the trigger operation of the sending control, obtaining the fourth voice data according to the chat information and the target timbre.
[0172] The process of acquiring the fourth voice data based on the chat information and the target timbre is similar to the process of acquiring the first voice data corresponding to the first expression based on the first text content and the target timbre, and is not further described in detail in this embodiment of the present application. The process of sending the third multimedia resource to the terminal device corresponding to the third virtual object is similar to the process of sending the first multimedia resource to the terminal device corresponding to the second virtual object, and is not further described in detail in this embodiment of the present application.
[0173] Optionally, when the third multimedia resource includes chat information and fourth voice data, after sending the third multimedia resource to the terminal device corresponding to the third virtual object, the terminal device corresponding to the third virtual object can display the chat information and play the fourth voice data. In this way, when the control object of the third virtual object turns on the voice in the game, the control object of the third virtual object can know the content sent by the game object through the played fourth voice data; when the control object of the third virtual object does not turn on the voice in the game and cannot hear the fourth voice data, the control object of the third virtual object can view the content sent by the game object through the displayed chat information.
[0174] In one embodiment of the present application, in response to receiving the third expression sent by the terminal device corresponding to the fourth virtual object, the terminal device displays the third expression.
[0175] The game object can also reply to the third expression sent by the fourth virtual object, making the game interaction process more complete. The reply process includes: in response to a trigger operation on the third expression, displaying at least one candidate reply expression; in response to a trigger operation on a target reply expression among the at least one candidate reply expression, sending the target reply expression to the terminal device corresponding to the fourth virtual object.
[0176] Before displaying at least one candidate reply expression, it is necessary to first determine at least one candidate reply expression. The present embodiment does not limit the process of determining at least one candidate reply expression. Optionally, the process of determining at least one candidate reply expression includes: in response to a trigger operation for a third expression, obtaining an identifier of the third expression; and determining at least one candidate reply expression based on the identifier of the third expression.
[0177] There are multiple optional expressions stored in the terminal device. The process of determining at least one candidate reply expression based on the identifier of the third expression includes: determining a first feature vector for representing the identifier of the third expression, and determining a second feature vector for representing each optional expression; determining the degree of matching between each optional expression and the third expression based on each second feature vector and the first feature vector; and using the optional expression whose degree of matching with the third expression meets the matching requirements as a candidate reply expression. Optionally, the degree of matching meeting the matching requirements means that the degree of matching is greater than the matching threshold. The matching threshold is set based on experience or adjusted according to the implementation environment, and this embodiment of the application does not limit this. Exemplarily, the matching threshold is 80%.
[0178] In response to a triggering operation on a target reply expression among at least one candidate reply expression, the text content corresponding to the target reply expression and the voice data corresponding to the target reply expression can also be sent to the terminal device corresponding to the fourth virtual object. Before sending the text content corresponding to the target reply expression and the voice data corresponding to the target reply expression to the terminal device corresponding to the fourth virtual object, it is necessary to first obtain the text content corresponding to the target reply expression and the voice data corresponding to the target reply expression. The process of obtaining the text content and voice data corresponding to the target reply expression includes: according to the identifier of the target reply expression and the identifier of the target timbre, obtaining the text content and voice data of the target reply expression under the target timbre, the text content of the target reply expression under the target timbre is the text content corresponding to the target reply expression, and the voice data of the target reply expression under the target timbre is the voice data corresponding to the target reply expression. The timbre of the voice data corresponding to the target reply expression is the target timbre, and the text content of the voice data corresponding to the target reply expression is the text content corresponding to the target reply expression.
[0179] The terminal device can also receive text content corresponding to the third expression and voice data corresponding to the third expression sent by the terminal device corresponding to the fourth virtual object. The terminal device displays the text content corresponding to the third expression and plays the voice data corresponding to the third expression.
[0180] In one possible implementation, the homepage of the game client also displays a settings control that is used to determine whether to enable the voice function within a game session. In response to a trigger operation on the settings control, a settings page is displayed, displaying a first control and a second control. The first control is used to indicate whether to enable the voice function within a game session, while the second control is used to indicate whether to disable the voice function within a game session. Game objects can use the settings page to determine whether to enable the voice function within a game session. Enabling the voice function within a game session means receiving and playing voice data sent by terminal devices corresponding to other virtual objects during a game session. Disabling the voice function within a game session means not receiving voice data sent by terminal devices corresponding to other virtual objects during a game session, or receiving voice data sent by terminal devices corresponding to other virtual objects but not playing it.
[0181] like Figure 12 This is a display diagram of a settings page provided in an embodiment of the present application. Figure 12 1201 is the first control, and 1202 is the second control.
[0182] It should be noted that the settings page can also set other game information, such as whether to allow team recommendations, etc., see Figure 12 As shown, I will not go into details here. It should also be noted that before entering a game, the game object can turn on the voice function in the game in the settings page. When the game object does not want to turn on the voice function in the game, the game object can turn off the voice function in the settings page.
[0183] In one possible implementation, the target timbre voice can also be sent outside the game. For example, the game client includes a chat subroutine. In the chat subroutine, the game object can interact with the interactive object by sending the target timbre voice to the interactive object.
[0184] The above method displays the first expression determined based on the game situation of the first virtual object in the game game screen, which is more consistent with the actual game situation of the game object, and the displayed information is more accurate. Moreover, since the expression can be automatically displayed without manual selection of the game object, the display efficiency of the expression is improved.
[0185] Moreover, the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression, so that the second virtual object interacting with the first virtual object is not static, but changes with the change of at least one of the location or expression of the first virtual object, thereby improving the flexibility of game interaction.
[0186] In addition, the method provided in the present application can send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object simply by triggering the first expression, thereby realizing the interaction between the first virtual object and the second virtual object, so that the game interaction process does not require more operation steps, the interaction process is simpler, and the efficiency of game interaction is improved.
[0187] Figure 13 This is a flowchart of a game interaction method provided by an embodiment of the present application. The method can be Figure 1 The terminal device 101 in the embodiment of the present invention is executed, and the method includes the following steps:
[0188] In step 1301, a game game screen is displayed, in which a first virtual object and a first expression are displayed in a virtual environment, and the first expression is determined based on the game situation of the first virtual object.
[0189] In a possible implementation, the method of displaying the game game screen has been described in the above step 201. Please refer to the content in the above step 201 for details and will not be repeated here.
[0190] In step 1302, when the first expression is triggered, the first multimedia resource corresponding to the first expression is displayed, and the first multimedia resource includes at least one of the first expression, the first text content of the first expression in the target timbre, or the first voice data corresponding to the first expression.
[0191] In a possible implementation, when the first expression is triggered, the process of displaying the first multimedia resource corresponding to the first expression has been described in the above step 202. For details, please refer to the content of the above step 202 and will not be repeated here.
[0192] It should be noted that when the first expression is triggered, before displaying the first multimedia resource, the voice function of the game game needs to be turned on. The way in which the game object turns on the voice function of the game game has been described in the above step 202. For details, please see the content of the above step 202 and will not be repeated here.
[0193] When the first expression is triggered, the terminal device may also send the first multimedia resource to the terminal device corresponding to the second virtual object. The process of sending the first multimedia resource to the terminal device corresponding to the second virtual object has been described in step 202 above. For details, please refer to the content of step 202 above and will not be repeated here.
[0194] In one possible implementation, the terminal device can also receive expressions sent by terminal devices corresponding to other virtual objects and reply to the expressions. This process has also been described in the above step 202. For details, please see the content in the above step 202. The embodiment of this application will not be repeated here.
[0195] Game players can also obtain chat information through the chat control, and then send voice data corresponding to the chat information to the terminal device corresponding to the teammate of the game object. The timbre of the voice data corresponding to the chat information is the target timbre, and the text content of the voice data corresponding to the chat information is the chat information. This process has also been described in the above step 202. For details, please see the content in the above step 202. The embodiment of this application will not be repeated here.
[0196] The above method displays the first expression determined based on the game situation of the first virtual object in the game game screen, which is more consistent with the actual game situation of the game object, and the displayed information is more accurate. Moreover, since the expression can be automatically displayed without manual selection of the game object, the display efficiency of the expression is improved.
[0197] Moreover, the method provided in the present application can display the first multimedia resource corresponding to the first expression simply by triggering the first expression, so that the process of displaying the first multimedia resource does not require a large number of operating steps, making the game interaction process simpler and more flexible, and improving the efficiency of game interaction.
[0198] Figure 14 FIG. 1 is a schematic diagram of a structure of a game interaction device provided in an embodiment of the present application. Figure 14 As shown, the device includes:
[0199] Display module 1401, configured to display a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on the game situation of the first virtual object;
[0200] The sending module 1402 is used to send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered. The second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
[0201] In a possible implementation, the first multimedia resource includes first voice data corresponding to the first expression;
[0202] The display module 1401 is further used to display a timbre page, in which multiple candidate timbre identifiers are displayed;
[0203] The device also includes:
[0204] An acquisition module is used to acquire first voice data in response to a trigger operation for identifying a target timbre among multiple candidate timbres, where the timbre of the first voice data is the target timbre, and the text content of the first voice data is the first text content of the first expression under the target timbre.
[0205] In a possible implementation, a plurality of candidate expressions are also displayed in the timbre page;
[0206] The acquisition module is further configured to, in response to a trigger operation for the target timbre identifier and a trigger operation for a second expression among the candidate expressions, acquire second voice data corresponding to the second expression, the timbre of the second voice data being the target timbre, and the text content of the second voice data being the text content corresponding to the second expression at the target timbre;
[0207] The device also includes:
[0208] The playing module is used to play the second voice data.
[0209] In one possible implementation, the display module 1401 is also used to display detailed information of the target timbre in the timbre page in response to a trigger operation for identifying the target timbre, and the detailed information of the target timbre includes at least one of the name of the target timbre, the description content of the target timbre, or a virtual object that emits the target timbre.
[0210] In one possible implementation, among the multiple candidate timbre identifiers displayed in the timbre page, the identifiers of the timbres already owned by the game object are displayed in a first manner, and the identifiers of the timbres not owned by the game object are displayed in a second manner, and the game object is the object that controls the first virtual object.
[0211] In one possible implementation, the acquisition module is used to generate a voice data acquisition request based on the identifier of the target timbre and the identifier of the first expression, wherein the voice data acquisition request includes the identifier of the target timbre and the identifier of the first expression; send the voice data acquisition request to the server, and the voice data acquisition request is used by the server to obtain the first voice data corresponding to the identifier of the target timbre and the identifier of the first expression; and receive the first voice data returned by the server based on the voice data acquisition request.
[0212] In a possible implementation, the apparatus further includes:
[0213] The determination module is used to determine the target area according to the broadcast range corresponding to the first expression and the location of the first virtual object; determine the second virtual object among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
[0214] In a possible implementation, the display module 1401 is further configured to display the first expression in a reference area when the first expression is triggered, where the reference area is determined according to the location of the first virtual object.
[0215] In one possible implementation, a chat control is also displayed on the game screen, and the chat control is used to obtain chat information;
[0216] The display module 1401 is further configured to display at least one candidate chat information in response to a trigger operation on the chat control;
[0217] The sending module 1402 is also used to send a second multimedia resource to the terminal device corresponding to the third virtual object in response to a trigger operation on the target chat information in at least one candidate chat information. The second multimedia resource includes at least one of the target chat information or the third voice data corresponding to the target chat information. The game team to which the third virtual object belongs is the game team to which the first virtual object belongs. The text content corresponding to the third voice data is the target chat information, and the timbre of the third voice data is the target timbre.
[0218] In one possible implementation, the display module 1401 is further configured to display a text input box and a send control in response to a trigger operation on the chat control;
[0219] The device also includes:
[0220] The acquisition module is used to obtain the text content entered in the text input box;
[0221] The acquisition module is also used to obtain chat information based on the text content;
[0222] The sending module 1402 is also used to send a third multimedia resource to the terminal device corresponding to the third virtual object in response to a trigger operation on the sending control. The third multimedia resource includes chat information or fourth voice data corresponding to the chat information. The text content corresponding to the fourth voice data is the chat information, and the timbre of the fourth voice data is the target timbre.
[0223] In one possible implementation, the display module is further configured to, in response to receiving a third expression sent by a terminal device corresponding to the fourth virtual object, display the third expression on the game game screen; and when the third expression is triggered, display at least one candidate reply expression;
[0224] The sending module is further used to send the target reply expression to the terminal device corresponding to the fourth virtual object in response to a trigger operation on the target reply expression in at least one candidate reply expression.
[0225] The above-mentioned device displays the first expression determined based on the game situation of the first virtual object in the game game screen, which is more in line with the actual game situation of the game object, and the displayed information is more accurate. Moreover, since the expression can be automatically displayed without manual selection of the game object, the display efficiency of the expression is improved.
[0226] Moreover, the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression, so that the second virtual object interacting with the first virtual object is not static, but changes with the change of at least one of the location or expression of the first virtual object, thereby improving the flexibility of game interaction.
[0227] In addition, by simply triggering the first expression, the first multimedia resource corresponding to the first expression can be sent to the terminal device corresponding to the second virtual object, thereby realizing the interaction between the first virtual object and the second virtual object, so that the game interaction process does not require more operating steps, the interaction process is simpler, and the efficiency of game interaction is improved.
[0228] Figure 15 FIG. 1 is a schematic diagram of a structure of a game interaction device provided in an embodiment of the present application. Figure 15 As shown, the device includes:
[0229] Display module 1501, configured to display a game screen, wherein the game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on the game status of the first virtual object;
[0230] Display module 1502 is used to display the first multimedia resource corresponding to the first expression when the first expression is triggered. The first multimedia resource includes at least one of the first expression, the first text content of the first expression in the target timbre, or the first voice data corresponding to the first expression.
[0231] In a possible implementation, the first multimedia resource includes a first emoticon, a first text content, and first voice data;
[0232] The device also includes:
[0233] An acquisition module, configured to acquire first text content and first voice data corresponding to the first expression when the first expression is triggered;
[0234] The display module 1502 is used to display the first expression and the first text content, and play the first voice data. The timbre corresponding to the first voice data is the target timbre, and the text content corresponding to the first voice data is the first text content.
[0235] In a possible implementation, the apparatus further includes:
[0236] The sending module is used to send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered. The second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
[0237] In a possible implementation, the apparatus further includes:
[0238] The determination module is used to determine the target area according to the broadcast range corresponding to the first expression and the location of the first virtual object; determine the second virtual object among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
[0239] The above-mentioned device displays the first expression determined based on the game situation of the first virtual object in the game game screen, which is more in line with the actual game situation of the game object, and the displayed information is more accurate. Moreover, since the expression can be automatically displayed without manual selection of the game object, the display efficiency of the expression is improved.
[0240] Moreover, the first multimedia resource corresponding to the first expression can be displayed simply by triggering the first expression, so that the process of displaying the first multimedia resource does not require many operating steps, making the game interaction process simpler and more flexible, and improving the efficiency of game interaction.
[0241] It should be understood that the above-mentioned device is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0242] Figure 16The following is a block diagram of a terminal device 1600 provided in accordance with an exemplary embodiment of the present application. The terminal device 1600 may be any electronic device capable of human-computer interaction with a user through one or more methods, such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include a PC (Personal Computer), mobile phone, smartphone, PDA (Personal Digital Assistant), wearable device, Pocket PC (PPC), tablet computer, smart car computer, smart TV, smart speaker, smart watch, and the like.
[0243] Typically, the terminal device 1600 includes a processor 1601 and a memory 1602 .
[0244] The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0245] Memory 1602 may include one or more computer-readable storage media, which may be non-transitory. Memory 1602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1602 is used to store at least one instruction, which is executed by processor 1601 to implement the game interaction method provided in the method embodiment of the present application.
[0246] In some embodiments, terminal device 1600 may optionally include a peripheral device interface 1603 and at least one peripheral device. The processor 1601, memory 1602, and peripheral device interface 1603 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 1603 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607, and a power supply 1609.
[0247] The peripheral device interface 1603 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral device interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602, and the peripheral device interface 1603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0248] RF circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. RF circuit 1604 communicates with communication networks and other communication devices via electromagnetic signals. RF circuit 1604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. RF circuit 1604 may optionally include an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. RF circuit 1604 may communicate with other terminal devices via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, RF circuit 1604 may also include circuitry related to Near Field Communication (NFC), although this application does not limit this.
[0249] The display screen 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1605 is a touch screen display, the display screen 1605 also has the ability to collect touch signals on the surface or above the surface of the display screen 1605. The touch signal can be input as a control signal to the processor 1601 for processing. At this time, the display screen 1605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there can be one display screen 1605, which is set on the front panel of the terminal device 1600; in other embodiments, there can be at least two display screens 1605, which are respectively set on different surfaces of the terminal device 1600 or in a folding design; in other embodiments, the display screen 1605 can be a flexible display screen, which is set on the curved surface or folding surface of the terminal device 1600. Even more, the display screen 1605 can be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0250] The camera assembly 1606 is used to capture images or videos. Optionally, the camera assembly 1606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 1600, and the rear camera is arranged on the back of the terminal device 1600. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1606 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0251] The audio circuit 1607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 1601 for processing, or input into the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there can be multiple microphones, each located in different parts of the terminal device 1600. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1601 or the radio frequency circuit 1604 into sound waves. The speaker can be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1607 may also include a headphone jack.
[0252] Power supply 1609 is used to power the various components in terminal device 1600. Power supply 1609 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1609 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0253] In some embodiments, the terminal device 1600 further includes one or more sensors 1610 , including but not limited to: an acceleration sensor 1611 , a gyroscope sensor 1612 , a pressure sensor 1613 , an optical sensor 1615 , and a proximity sensor 1616 .
[0254] The accelerometer 1611 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal device 1600. For example, the accelerometer 1611 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 1601 can control the display screen 1605 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 1611. The accelerometer 1611 can also be used to collect game or user motion data.
[0255] The gyroscope sensor 1612 can detect the body orientation and rotation angle of the terminal device 1600. The gyroscope sensor 1612 can work with the accelerometer 1611 to collect the user's 3D movements of the terminal device 1600. Based on the data collected by the gyroscope sensor 1612, the processor 1601 can implement the following functions: motion sensing (such as changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0256] The pressure sensor 1613 can be set on the side frame of the terminal device 1600 and / or the lower layer of the display screen 1605. When the pressure sensor 1613 is set on the side frame of the terminal device 1600, it can detect the user's grip signal of the terminal device 1600, and the processor 1601 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 1613. When the pressure sensor 1613 is set on the lower layer of the display screen 1605, the processor 1601 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 1605. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0257] Optical sensor 1615 is used to detect ambient light intensity. In one embodiment, processor 1601 can control the display brightness of display screen 1605 based on the ambient light intensity detected by optical sensor 1615. Specifically, when the ambient light intensity is high, the display brightness of display screen 1605 is increased; when the ambient light intensity is low, the display brightness of display screen 1605 is decreased. In another embodiment, processor 1601 can also dynamically adjust the shooting parameters of camera assembly 1606 based on the ambient light intensity detected by optical sensor 1615.
[0258] Proximity sensor 1616, also known as a distance sensor, is typically located on the front panel of terminal device 1600. Proximity sensor 1616 is used to detect the distance between the user and the front of terminal device 1600. In one embodiment, when proximity sensor 1616 detects that the distance between the user and the front of terminal device 1600 is gradually decreasing, processor 1601 controls display screen 1605 to switch from the screen-on state to the screen-off state. When proximity sensor 1616 detects that the distance between the user and the front of terminal device 1600 is gradually increasing, processor 1601 controls display screen 1605 to switch from the screen-off state to the screen-on state.
[0259] Those skilled in the art will understand that Figure 16 The structure shown in the figure does not constitute a limitation on the terminal device 1600, and the terminal device 1600 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0260] Figure 17This is a schematic diagram of the structure of the server provided in the embodiment of the present application. The server 1700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1701 and one or more memories 1702, wherein the one or more memories 1702 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 1701 to implement the game interaction methods provided in the above-mentioned various method embodiments. Of course, the server 1700 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server 1700 may also include other components for implementing device functions, which will not be described in detail here.
[0261] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned game interaction methods.
[0262] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0263] In an exemplary embodiment, a computer program or a computer program product is also provided. The computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable the computer to implement any of the above-mentioned game interaction methods.
[0264] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, storage, display, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the timbre, text content, emoticons, and voice data involved in this application were all obtained with full authorization.
[0265] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.
[0266] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0267] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A game interaction method, characterized in that: The method comprises: displaying a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object; When the first expression is triggered, the first multimedia resource corresponding to the first expression is sent to the terminal device corresponding to the second virtual object, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
2. The method according to claim 1, characterized in that The first multimedia resource includes first voice data corresponding to the first expression; and before sending the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, the method further includes: Displaying a timbre page, wherein the timbre page displays identifiers of a plurality of candidate timbres; In response to a trigger operation for identifying a target timbre among the multiple candidate timbres, the first voice data is obtained, the timbre of the first voice data is the target timbre, and the text content of the first voice data is the first text content of the first expression under the target timbre.
3. The method according to claim 2, characterized in that The timbre page also displays a plurality of candidate expressions; the method further includes: In response to a trigger operation for the target timbre identifier and a trigger operation for a second expression among the candidate expressions, obtaining second voice data corresponding to the second expression, wherein the timbre of the second voice data is the target timbre, and the text content of the second voice data is the text content corresponding to the second expression at the target timbre; Play the second voice data.
4. The method according to claim 2, characterized in that The method further comprises: In response to a triggering operation for the identification of the target timbre, detailed information of the target timbre is displayed in the timbre page, and the detailed information of the target timbre includes at least one of the name of the target timbre, the description content of the target timbre, or a virtual object that emits the target timbre.
5. The method according to claim 2, characterized in that Among the multiple candidate timbre identifiers displayed in the timbre page, the identifiers of the timbre already owned by the game object are displayed in a first manner, and the identifiers of the timbre not owned by the game object are displayed in a second manner. The game object is the object that controls the first virtual object.
6. The method according to claim 2, characterized in that The acquiring of the first voice data includes: generating a voice data acquisition request according to the identifier of the target timbre and the identifier of the first expression, wherein the voice data acquisition request includes the identifier of the target timbre and the identifier of the first expression; Sending the voice data acquisition request to a server, wherein the voice data acquisition request is used by the server to acquire the first voice data corresponding to the identifier of the target timbre and the identifier of the first expression; Receive the first voice data returned by the server according to the voice data acquisition request.
7. The method according to any one of claims 1 to 6, characterized in that: Before sending the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, the method further includes: Determining a target area according to a broadcast range corresponding to the first expression and a location of the first virtual object; The second virtual object is determined among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
8. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: When the first expression is triggered, the first expression is displayed in a reference area, and the reference area is determined according to the position of the first virtual object.
9. The method according to any one of claims 1 to 6, characterized in that: The game screen also displays a chat control, which is used to obtain chat information; the method further includes: In response to a triggering operation on the chat control, displaying at least one candidate chat information; In response to a trigger operation on the target chat information in the at least one candidate chat information, a second multimedia resource is sent to the terminal device corresponding to the third virtual object, the second multimedia resource includes at least one of the target chat information or the third voice data corresponding to the target chat information, the game team to which the third virtual object belongs is the game team to which the first virtual object belongs, the text content corresponding to the third voice data is the target chat information, and the timbre of the third voice data is the target timbre.
10. The method according to claim 9, characterized in that The method further comprises: In response to a triggering operation on the chat control, displaying a text input box and a send control; Get the text content entered in the text input box; Obtain chat information according to the text content; In response to the trigger operation of the sending control, a third multimedia resource is sent to the terminal device corresponding to the third virtual object, the third multimedia resource includes the chat information or the fourth voice data corresponding to the chat information, the text content corresponding to the fourth voice data is the chat information, and the timbre of the fourth voice data is the target timbre.
11. The method according to any one of claims 1 to 6, characterized in that: After sending the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, the method further includes: In response to receiving a third expression sent by a terminal device corresponding to a fourth virtual object, displaying the third expression on the game game screen; When the third expression is triggered, display at least one candidate reply expression; In response to a triggering operation on a target reply expression in at least one candidate reply expression, the target reply expression is sent to a terminal device corresponding to the fourth virtual object.
12. A game interaction method, characterized in that: The method comprises: displaying a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object; When the first expression is triggered, the first multimedia resource corresponding to the first expression is displayed, and the first multimedia resource includes at least one of the first expression, the first text content of the first expression in the target timbre, or the first voice data corresponding to the first expression.
13. The method according to claim 12, characterized in that The first multimedia resource includes the first emoticon, the first text content, and the first voice data; The displaying of the first multimedia resource corresponding to the first expression when the first expression is triggered includes: When the first expression is triggered, obtaining first text content and first voice data corresponding to the first expression; The first expression and the first text content are displayed, and the first voice data is played, the timbre corresponding to the first voice data is the target timbre, and the text content corresponding to the first voice data is the first text content.
14. The method according to claim 12 or 13, characterized in that After displaying the game screen, the method further includes: When the first expression is triggered, the first multimedia resource corresponding to the first expression is sent to the terminal device corresponding to the second virtual object, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
15. The method according to claim 14, characterized in that Before sending the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, the method further includes: Determining a target area according to a broadcast range corresponding to the first expression and a location of the first virtual object; The second virtual object is determined among the virtual objects located in the target area, and the game team to which the second virtual object belongs is the game team corresponding to the first expression.
16. A game interaction device, characterized in that: The device comprises: A display module is configured to display a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object; A sending module is used to send the first multimedia resource corresponding to the first expression to the terminal device corresponding to the second virtual object when the first expression is triggered, and the second virtual object is determined based on at least one of the location of the first virtual object, the broadcast range corresponding to the first expression, or the game team corresponding to the first expression.
17. A game interaction device, characterized in that: The device comprises: A display module is configured to display a game game screen, wherein the game game screen displays a first virtual object and a first expression in a virtual environment, wherein the first expression is determined based on a game situation of the first virtual object; A display module is used to display a first multimedia resource corresponding to the first expression when the first expression is triggered, wherein the first multimedia resource includes at least one of the first expression, the first text content of the first expression in the target timbre, or the first voice data corresponding to the first expression.
18. A computer device, characterized in that: The computer device includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor so that the computer device implements the game interaction method according to any one of claims 1 to 15.
19. A computer-readable storage medium, characterized in that The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to enable a computer to implement the game interaction method according to any one of claims 1 to 15.
20. A computer program product, characterized in that The computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement the game interaction method according to any one of claims 1 to 15.