In-game interface interaction method and device, storage medium, and computer equipment
By displaying the interactive interface in the form of a floating window in online games, the problem of the activity introduction interface blocking the game screen and the high reading cost for players is solved, which improves the gaming experience and reduces the cost of content promotion.
Patent Information
- Application Number
- CN202211085364.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2041-10-28
AI Technical Summary
The activity introduction interface in online games blocks the game screen and is costly for players to read, affecting the gaming experience.
The interactive interface is displayed in the form of a floating window on the game screen, including a content explanation area and a selection area. The interactive interface is displayed through the floating window to avoid blocking the game screen and provide content explanation.
It reduces the reading cost for players, improves the gaming experience, avoids blocking of the game screen, and achieves effective promotion of content.
Smart Images

Figure CN115414667B_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese patent application filed with the China Patent Office on October 28, 2021, with application number 202111265811.0 and titled “Interface interaction method and device, storage medium, and computer equipment within the game.” Technical Field
[0002] The present application relates to the field of online game technology, and in particular to a method and device for interface interaction within a game, a storage medium, and a computer device. Background Art
[0003] With the continuous development of the Internet and computer technology, online games have become a choice for entertainment and relaxation for the general public.
[0004] In online games, in-game events and other information are often announced through text and images on bulletin boards. For example, upon logging in, an event introduction screen pops up on the game interface. Alternatively, players can click a specific "Event" button to trigger an in-game event introduction screen, where they can read the announcement to learn more about the event. This approach presents the following issues: First, the event introduction screen obscures the game screen, disrupting player interaction. Second, requiring players to read detailed information increases the cost of event promotion and reduces the player experience. Summary of the Invention
[0005] In view of this, the present application provides an in-game interface interaction method and apparatus, a storage medium, and a computer device.
[0006] According to one aspect of the present application, a method for interface interaction within a game is provided, comprising:
[0007] Receive interactive interface configuration data;
[0008] Generate an interactive interface based on the interactive interface configuration data and the interactive interface template;
[0009] When the interactive interface display conditions are met, the interactive interface is displayed in the form of a floating window in the game screen, wherein the interactive interface includes a content explanation area and a content selection area, and the optional content in the content selection area includes the explanation content of the content explanation area.
[0010] Optionally, the interactive interface configuration data includes at least one type of game resource data, resource explanation data for each game resource, and a resource explanation order for each game resource; generating the interactive interface based on the interactive interface configuration data and the interactive interface template specifically includes:
[0011] Associating the game resource data corresponding to each game resource with the resource selection option module to form a resource selection option corresponding to each game resource, and associating the resource selection options with the resource selection area of the live interactive interface template in the order of resource explanation;
[0012] According to the resource explanation order, the game resource explanation data is sequentially associated with the resource explanation area of the live interactive interface template.
[0013] Optionally, sequentially associating the game resource explanation data with the resource explanation area of the live interactive interface according to the resource explanation order specifically includes:
[0014] Determining speech waveform features of the explanation content, and obtaining a plurality of explanation character animation clips matching the speech waveform features, wherein the explanation characters include non-player characters in the game;
[0015] Splicing the explanation character animation clips to obtain an explanation animation, and associating the explanation animation to the resource explanation area of the live interactive interface template;
[0016] Accordingly, when the interactive interface display condition is met, the interactive interface is displayed in the form of a floating window in the game screen, specifically including:
[0017] When the preset live broadcast time is reached, the live broadcast interactive interface is displayed in the form of a floating window on the game screen to play the explanation animation in the resource explanation area, and play the explanation voice synchronized with the explanation animation based on the explanation content, wherein the resource selection option in the resource selection area selectively displays explanation special effects based on the explanation animation in the resource explanation area, and the explanation special effects include popping up the resource selection option of the game resource being explained and / or adding display effects to the resource selection option of the game resource being explained.
[0018] Optionally, when the interactive interface display condition is met, after displaying the interactive interface in the form of a floating window on the game screen, the method further includes:
[0019] In response to the game resource insertion instruction, determining resource configuration data to be inserted, wherein the resource configuration data to be inserted includes resource data to be inserted and resource explanation data to be inserted;
[0020] Associating the resource data to be inserted into the resource selection option module to form the resource selection option to be inserted, and adding the resource selection option to be inserted to the resource selection area;
[0021] After the explanation voice corresponding to the current game resource is played, the explanation animation corresponding to the resource to be inserted is played in the resource explanation area, and the explanation voice corresponding to the resource to be inserted is played synchronously.
[0022] Optionally, the explanation character animation clip includes a first animation clip and a second animation clip of the explanation character, the first animation clip includes the head and body of the explanation character, the second animation clip includes the head of the explanation character, and the screen size of the first animation clip is larger than the screen size of the second animation clip; splicing the explanation character animation clips to obtain an explanation animation, and associating the explanation animation with the resource explanation area of the live interactive interface template specifically includes:
[0023] splicing the first animation clips to obtain a first explanation animation, and splicing the second animation clips to obtain a second explanation animation;
[0024] Associate the first explanation animation to the resource explanation area of the live interactive interface template, wherein the live interactive interface template includes at least one of an explanation area adjustment option, an interactive interface selection option, a mute option, and a volume adjustment option. The explanation area adjustment option is used to switch the playback animation in the resource explanation area based on a touch operation, and the interactive interface selection option is used to hide or display the interactive interface based on a touch operation.
[0025] Optionally, the game resource data includes a resource icon, resource name, acquisition conditions, and acquisition path of the game resource; and associating the game resource data corresponding to each game resource with a resource selection option module to form resource selection options corresponding to each game resource specifically includes:
[0026] According to the resource icon, the resource name, the acquisition condition, and the acquisition path of each game resource, the icon display position, the name display position, the acquisition condition display position, and the acquisition option in the resource selection option module are respectively associated to obtain the resource selection option corresponding to each game resource;
[0027] Correspondingly, after displaying the interactive interface in the form of a floating window on the game screen, the method further includes:
[0028] When any acquisition option is triggered, determining the target game resource corresponding to the acquisition option;
[0029] According to the target acquisition conditions corresponding to the target game resources, after settling the current player character account through the corresponding target acquisition path, the target game resources are allocated to the current player character account; or, based on the target acquisition path corresponding to the target game resources, the acquisition interface of the target game resources is entered.
[0030] Optionally, the resource selection option module further includes a remaining amount display position and / or a remaining time display position, wherein the remaining amount display position is used to display the real-time remaining amount of the corresponding game resource, and the remaining time display position is used to display the remaining available time of the corresponding game resource. When the corresponding real-time remaining amount and / or remaining available time is zero, the acquisition option of any game resource is changed to an unselectable state; after displaying the interactive interface in the form of a floating window on the game screen, the method further includes:
[0031] receiving additional data on the quantity of a first game resource, updating the real-time remaining quantity of the first game resource, playing an additional animation of the first game resource in the resource explanation area and synchronously playing additional voice, and / or displaying additional special effects of the first game resource in the resource selection area; and / or,
[0032] Receive additional time data for a second game resource, update the remaining available time of the second game resource, play a delayed animation of the second game resource in the resource explanation area and synchronously play delayed voice, and / or display a delayed special effect of the second game resource in the resource selection area.
[0033] Optionally, the resource selection option module further includes a replay option; after playing the explanation voice corresponding to the explanation content synchronized with the explanation character animation, the method further includes:
[0034] When the target explanation animation corresponding to any game resource is finished playing, the target explanation animation is associated with the replay option of any game resource;
[0035] When the replay option is triggered, the explanation character animation is played in the resource explanation area and the explanation voice of the target explanation animation is played synchronously. After the replay ends, the explanation character animation after the corresponding length of the target explanation animation continues to be played in the resource explanation area and the corresponding explanation voice is played synchronously.
[0036] Optionally, when the interactive interface configuration data is stream data, after displaying the interactive interface in a floating window on the game screen when the interactive interface display condition is met, the method further includes:
[0037] Based on the received streaming data, the explanation animation in the content explanation area, the explanation voice synchronized with the explanation animation, and the resource selection options in the content selection area are updated in real time.
[0038] Optionally, the interactive interface configuration data includes at least one activity data, activity explanation data for each activity, and an activity explanation order; generating the interactive interface based on the interactive interface configuration data and the interactive interface template specifically includes:
[0039] Associating the activity data of each activity with the activity selection option module to form activity selection options corresponding to each activity, and associating the activity selection options with the activity selection area of the activity interaction interface in sequence according to the activity explanation order;
[0040] According to the activity explanation sequence, the activity explanation data is sequentially associated with the activity explanation area of the activity interaction interface.
[0041] According to another aspect of the present application, there is provided an interface interaction device within a game, comprising:
[0042] A data receiving module, used for receiving interactive interface configuration data;
[0043] An interface configuration module, configured to generate an interactive interface based on the interactive interface configuration data and the interactive interface template;
[0044] The interface display module is used to display the interactive interface in the form of a floating window in the game screen when the interactive interface display conditions are met, wherein the interactive interface includes a content explanation area and a content selection area, and the optional content in the content selection area includes the explanation content of the content explanation area.
[0045] Optionally, the interactive interface configuration data includes at least one game resource data, resource explanation data for each game resource, and a resource explanation order for each game resource; the interface configuration module is specifically configured to:
[0046] Associating the game resource data corresponding to each game resource with the resource selection option module to form a resource selection option corresponding to each game resource, and associating the resource selection options with the resource selection area of the live interactive interface template in the order of resource explanation;
[0047] According to the resource explanation order, the game resource explanation data is sequentially associated with the resource explanation area of the live interactive interface template.
[0048] Optionally, the interface configuration module is specifically configured to:
[0049] Determining speech waveform features of the explanation content, and obtaining a plurality of explanation character animation clips matching the speech waveform features, wherein the explanation characters include non-player characters in the game;
[0050] Splicing the explanation character animation clips to obtain an explanation animation, and associating the explanation animation to the resource explanation area of the live interactive interface template;
[0051] Accordingly, the interface display module is specifically used to:
[0052] When the preset live broadcast time is reached, the live broadcast interactive interface is displayed in the form of a floating window on the game screen to play the explanation animation in the resource explanation area, and play the explanation voice synchronized with the explanation animation based on the explanation content, wherein the resource selection option in the resource selection area selectively displays explanation special effects based on the explanation animation in the resource explanation area, and the explanation special effects include popping up the resource selection option of the game resource being explained and / or adding display effects to the resource selection option of the game resource being explained.
[0053] Optionally,
[0054] The data receiving module is further configured to, after displaying the interactive interface in a floating window on the game screen when the interactive interface display condition is met, respond to a game resource insertion instruction and determine resource configuration data to be inserted, wherein the resource configuration data to be inserted includes resource data to be inserted and resource explanation data to be inserted;
[0055] The interface configuration module is further configured to associate the resource data to be inserted with the resource selection option module to form the resource selection option to be inserted, and add the resource selection option to be inserted to the resource selection area;
[0056] The interface display module is also used to play the explanation animation corresponding to the resource to be inserted in the resource explanation area after the explanation voice corresponding to the current game resource is played, and synchronously play the explanation voice corresponding to the resource to be inserted.
[0057] Optionally, the explanation character animation clip includes a first animation clip and a second animation clip of the explanation character, the first animation clip includes the head and body of the explanation character, the second animation clip includes the head of the explanation character, and the screen size of the first animation clip is larger than the screen size of the second animation clip; the interface configuration module is specifically used to:
[0058] splicing the first animation clips to obtain a first explanation animation, and splicing the second animation clips to obtain a second explanation animation;
[0059] Associate the first explanation animation to the resource explanation area of the live interactive interface template, wherein the live interactive interface template includes at least one of an explanation area adjustment option, an interactive interface selection option, a mute option, and a volume adjustment option. The explanation area adjustment option is used to switch the playback animation in the resource explanation area based on a touch operation, and the interactive interface selection option is used to hide or display the interactive interface based on a touch operation.
[0060] Optionally, the game resource data includes a resource icon, resource name, acquisition conditions, and acquisition path of the game resource; the interface configuration module is specifically used to:
[0061] According to the resource icon, the resource name, the acquisition condition, and the acquisition path of each game resource, the icon display position, the name display position, the acquisition condition display position, and the acquisition option in the resource selection option module are respectively associated to obtain the resource selection option corresponding to each game resource;
[0062] Accordingly, the device further comprises:
[0063] The resource acquisition module is used to determine the target game resource corresponding to any acquisition option when the acquisition option is triggered; according to the target acquisition condition corresponding to the target game resource, after settling the current player character account through the corresponding target acquisition path, the target game resource is allocated to the current player character account; or, based on the target acquisition path corresponding to the target game resource, enter the acquisition interface of the target game resource.
[0064] Optionally, the resource selection option module further includes a remaining quantity display position and / or a remaining time display position, wherein the remaining quantity display position is used to display the real-time remaining quantity of the corresponding game resource, and the remaining time display position is used to display the remaining available time of the corresponding game resource. When the corresponding real-time remaining quantity and / or remaining available time is zero, the acquisition option of any game resource is changed to an unselectable state;
[0065] After the interactive interface is displayed in the form of a floating window on the game screen, the device further includes: an additional module for:
[0066] receiving additional data on the quantity of a first game resource, updating the real-time remaining quantity of the first game resource, playing an additional animation of the first game resource in the resource explanation area and synchronously playing additional voice, and / or displaying additional special effects of the first game resource in the resource selection area; and / or,
[0067] Receive additional time data for a second game resource, update the remaining available time of the second game resource, play a delayed animation of the second game resource in the resource explanation area and synchronously play delayed voice, and / or display a delayed special effect of the second game resource in the resource selection area.
[0068] Optionally, the resource selection option module further includes a replay option; the device further includes: a replay module, configured to:
[0069] When the target explanation animation corresponding to any game resource is finished, the target explanation animation is associated with the replay option of any game resource; when the replay option is triggered, the explanation character animation is played in the resource explanation area and the explanation voice of the target explanation animation is played synchronously. After the replay is finished, the explanation character animation after the corresponding length of the target explanation animation continues to be played in the resource explanation area and the corresponding explanation voice is played synchronously.
[0070] Optionally, the interface configuration module is further configured to obtain a replay viewing preference of the current player, wherein the replay viewing preference is determined based on the historical replay operation data of the current player; edit the explanation animation corresponding to each of the game resources according to the replay viewing preference to obtain a replay animation corresponding to each of the game resources, and edit the replay voice corresponding to the replay animation;
[0071] The replay module is also used to associate the target replay animation corresponding to any game resource with the corresponding replay option after the target explanation animation corresponding to the game resource is finished; when the replay option is triggered, the target replay animation is played in the resource explanation area and the replay voice corresponding to the target replay animation is played synchronously.
[0072] Optionally, the interface configuration module is further configured to:
[0073] In the case where the interactive interface configuration data is streaming data, the explanation animation in the content explanation area, the explanation voice synchronized with the explanation animation, and the resource selection options in the content selection area are updated in real time based on the received streaming data.
[0074] Optionally, the interactive interface configuration data includes at least one activity data, activity explanation data for each activity, and an activity explanation order; the interface configuration module is further configured to:
[0075] Associating the activity data of each activity with the activity selection option module to form activity selection options corresponding to each activity, and associating the activity selection options with the activity selection area of the activity interaction interface in sequence according to the activity explanation order;
[0076] According to the activity explanation sequence, the activity explanation data is sequentially associated with the activity explanation area of the activity interaction interface.
[0077] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the interface interaction method in the above game is implemented.
[0078] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned interface interaction method within the game when executing the program.
[0079] By means of the above technical solution, the present application provides an in-game interface interaction method and device, storage medium, and computer equipment. After the game client receives the interactive interface configuration data, it configures the interactive interface template according to the configuration data to generate an interactive interface. When the display conditions of the interactive interface are met, the interactive interface is displayed in the form of a floating window on the basis of the existing game screen, wherein the interactive interface includes a content explanation area and a content selection area, and the content explanation area can explain the optional content in the content selection area. Compared with the content interaction method of the prior art, the embodiment of the present application configures the interactive interface template according to the interactive interface configuration data, and then displays the interactive interface in the form of a floating window on the original game screen, avoiding obstruction of important information on the game screen and not affecting the player's normal game experience. At the same time, the interactive interface can provide content explanations, reducing the player's reading cost and reducing the cost of content popularization.
[0080] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0082] Figure 1 A schematic diagram showing a flow chart of an in-game interface interaction method provided by an embodiment of the present application is shown;
[0083] Figure 2 A schematic diagram showing a flow chart of another in-game interface interaction method provided by an embodiment of the present application;
[0084] Figure 3A structural diagram of an interface interaction device within a game provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0085] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0086] In this embodiment, a method for interface interaction in a game is provided, such as Figure 1 As shown, the method includes:
[0087] Step 101: Receive interactive interface configuration data.
[0088] An embodiment of the present application provides a content interaction method for displaying an interactive interface in the form of a floating window within a game. The interactive interface is displayed in the form of a floating window above the original game screen, avoiding blocking of important information on the game screen and not affecting the player's normal game experience. In addition, the interactive interface can provide content explanations, reducing the reading cost for players and reducing the cost of content popularization.
[0089] In this embodiment, when there is content that needs to be promoted, promoted, and popularized within the game, and the content needs to be output in the form of an interactive interface within the game client, the game server can send interactive interface configuration data to the game client, and the interactive interface configuration data specifically includes configuration data of the content to be displayed, wherein the content to be displayed can specifically include in-game activities, messages to be announced, game resources for sale, etc., such as in-game "gem" collection activities, service suspension and upgrade notifications, fashions for sale, etc.
[0090] Step 102: Generate an interactive interface based on the interactive interface configuration data and the interactive interface template.
[0091] Step 103: When the interactive interface display conditions are met, the interactive interface is displayed in the form of a floating window in the game screen, wherein the interactive interface includes a content explanation area and a content selection area, and the optional content in the content selection area includes the explanation content of the content explanation area.
[0092] After the game client receives the interactive interface configuration data, it can configure the interactive interface template sent locally or by the server according to the interactive interface configuration data to obtain an interactive interface containing the content to be displayed. The interactive interface includes a content explanation area and a content selection area. The content explanation area can be used to explain the content in the form of video, etc. The content selection area can contain multiple optional contents, among which the optional content includes the explanation content of the content explanation area. In the content explanation area, the multiple optional contents in the content selection area can be explained one by one. In addition, players can also further trigger other operations on the optional content by selecting the optional content, such as entering the activity entrance for collecting "gems", entering the details page of the service suspension upgrade notification, triggering the operation of purchasing fashions, etc.
[0093] Furthermore, when a predetermined interactive interface display condition is met, the interactive interface is displayed as a floating window on top of the displayed game screen. For example, if the interactive interface display condition is a display time, the interactive interface floating window is displayed when the predetermined display time is reached. Another example is if the interactive interface display condition is that a button within the game is clicked, the interactive interface floating window is displayed after the button is clicked.
[0094] It should be noted that the display position of the interactive interface can be selected in the corners of the game screen, such as the upper right corner or the upper left corner, to avoid blocking important information in the game, such as the position of the game character and the position of the operation buttons. In addition, the interactive interface can support position adjustment, and the position of the interactive interface can be changed according to the player's adjustment operation. Players can place the interactive interface in a position that does not affect the viewing of important content in the game according to actual needs, so that they can experience the game normally while watching the interactive interface and listening to the content explanation, thereby improving the player's gaming experience.
[0095] By applying the technical solution of this embodiment, after the game client receives the interactive interface configuration data, it configures the interactive interface template according to the configuration data to generate an interactive interface. When the display conditions of the interactive interface are met, the interactive interface is displayed in the form of a floating window on the basis of the existing game screen, wherein the interactive interface includes a content explanation area and a content selection area, and the content explanation area can explain the optional content in the content selection area. Compared with the content interaction method of the prior art, the embodiment of the present application configures the interactive interface template according to the interactive interface configuration data, and displays the interactive interface in the form of a floating window on the original game screen, avoiding obstruction of important information on the game screen and not affecting the player's normal game experience. At the same time, the interactive interface can provide content explanations, reducing the player's reading cost and reducing the cost of content popularization.
[0096] In an embodiment of the present application, optionally, the interactive interface configuration data includes at least one game resource data, resource explanation data for each game resource, and a resource explanation order for each game resource; step 102 may specifically include:
[0097] Step 102-1, associate the game resource data corresponding to each game resource to the resource selection option module respectively to form the resource selection option corresponding to each game resource, and associate the resource selection option to the resource selection area of the live interactive interface template in sequence according to the resource explanation order; associate the game resource explanation data to the resource explanation area of the live interactive interface template in sequence according to the resource explanation order.
[0098] In the above embodiment, the interactive interface can be specifically a live interactive interface, through which game resources can be promoted and sold. Among them, the interactive interface configuration data can specifically include at least one game resource data, resource explanation data of each game resource, and the corresponding resource explanation order. When configuring the interactive interface, for any game resource, the game resource data can be associated with the resource selection option module to obtain the resource selection option of the resource. For example, the resource icon in the game resource data can be associated with the icon display position to distinguish various game resources by icons. For example, the resource acquisition link in the game resource data can be associated so that when the option is selected, the resource acquisition interface can be entered through the link. After obtaining the resource selection options for each resource, each resource selection option can be added to the resource selection area corresponding to the live interactive interface template according to the resource explanation order. Of course, it can also be added in other orders, such as according to the price, inventory, rarity, etc. of each resource. Furthermore, the game resource explanation data can be associated with the resource explanation area of the live interactive interface template in the order of resource explanation. The game resource explanation data can specifically be explanation text, explanation voice, or explanation video. If it is an explanation video, it can be directly associated. If it is explanation text or explanation voice, it can be converted into video format first and then associated.
[0099] In an embodiment of the present application, optionally, the interactive interface configuration data includes at least one activity data, activity explanation data for each activity, and an activity explanation order; step 102 may specifically include:
[0100] Step 102-2, associate the activity data of each activity to the activity selection option module respectively to form the activity selection options corresponding to each activity, and associate the activity selection options to the activity selection area of the activity interaction interface in sequence according to the activity explanation order; associate the activity explanation data to the activity explanation area of the activity interaction interface in sequence according to the activity explanation order.
[0101] In the above embodiment, the interactive interface may specifically include an activity interactive interface, through which game activities can be promoted, information announced, etc. The interactive interface configuration data may specifically include at least one activity data, activity explanation data of each activity, and the corresponding activity explanation order. When configuring the interactive interface, for any activity, the activity data can be associated with the activity selection option module to obtain the activity selection options of the activity, such as associating the activity icon in the activity data with the icon display position to distinguish various activities by icons, and for example associating the activity entry link in the activity data to achieve the ability to enter the activity entrance through the link when the option is selected. After obtaining the activity selection options for each activity, each activity selection option can be added to the activity selection area corresponding to the activity interactive interface template according to the activity explanation order. Of course, it can also be added in other orders, such as according to the difficulty of each activity, the value of the reward that can be obtained after completion, and so on. Furthermore, the activity explanation data can be associated with the activity explanation area of the activity interactive interface template in sequence according to the activity explanation order. The activity explanation data can specifically be explanation text, explanation voice, or explanation video. If it is an explanation video, it can be directly associated. If it is explanation text or explanation voice, it can be converted into video format first and then associated.
[0102] Furthermore, as a refinement and expansion of the specific implementation of the embodiment of the present application, in order to fully illustrate the specific implementation process of the embodiment, in the scenario of providing a live interactive interface, the embodiment of the present application provides another interface interaction method within the game, such as Figure 2 As shown, the method includes:
[0103] Step 201: receiving interactive interface configuration data, wherein the interactive interface configuration data includes at least one game resource data, resource explanation data for each game resource, and a resource explanation order for each game resource;
[0104] Step 202: Associating the icon display position, name display position, acquisition condition display position, and acquisition option in the resource selection option module based on the resource icon, resource name, acquisition condition, and acquisition path of each game resource, respectively, to obtain resource selection options corresponding to each game resource, wherein the game resource data includes the resource icon, resource name, acquisition condition, and acquisition path of the game resource; and sequentially associating the resource selection options with the resource selection area of the live interactive interface template in the order in which the resources are explained;
[0105] In this embodiment, when configuring the resource selection option module, the resource icon, resource name, and acquisition conditions in the game resource data can be specifically assigned to the module's icon display position, name display position, and acquisition condition display position, respectively, to display the icon, name, and acquisition condition of each game resource. For example, a thumbnail of a game costume, its name "qipao," and its acquisition condition "20 game coins" can be displayed. Furthermore, an acquisition path can be associated with the module's acquisition options. Once the acquisition option is triggered, the user can use this acquisition path to enter the game resource acquisition interface or directly acquire the game resource.
[0106] Step 203: Determine the speech waveform features of the explanation content, obtain multiple explanation character animation clips that match the speech waveform features, wherein the explanation characters include non-player characters in the game; splice the explanation character animation clips to obtain an explanation animation, and associate the explanation animation with the resource explanation area of the live interactive interface template;
[0107] In this embodiment, when the explanation content includes voice data, the voice data can be parsed to obtain the corresponding voice waveform, and the corresponding explanation character animation segment can be obtained based on the voice waveform characteristics. Specifically, the voice waveform can be divided into multiple voice segments, and the matching explanation character animation segment can be selected based on the waveform mean of each voice segment. For example, if the waveform mean is large, a segment with large mouth movements can be selected, or according to the interval where the waveform mean is located, one can be randomly selected from multiple animation segments corresponding to the interval. Then, the explanation character animation segments are spliced in sequence to obtain the explanation animation, and the explanation animation is associated with the resource explanation area of the live interactive interface target. Among them, the explanation character can be a non-player character in the game to fit the game scene and bring immersion to the player, such as a more representative NPC character in the game.
[0108] In the above embodiment, optionally, the explanation character animation clip includes a first animation clip and a second animation clip of the explanation character, the first animation clip includes the head and body of the explanation character, the second animation clip includes the head of the explanation character, and the screen size of the first animation clip is larger than the screen size of the second animation clip; in step 203, the splicing of the explanation character animation clips to obtain an explanation animation, and associating the explanation animation with the resource explanation area of the live interactive interface template may specifically include:
[0109] Splicing the first animation clips to obtain a first explanation animation, and splicing the second animation clips to obtain a second explanation animation; associating the first explanation animation to the resource explanation area of the live interactive interface template, wherein the live interactive interface template includes an explanation area adjustment option, and also includes at least one of an interactive interface selection option, a mute option, and a volume adjustment option, the explanation area adjustment option is used to switch the playback animation in the resource explanation area based on a touch operation, and the interactive interface selection option is used to hide or display the interactive interface based on a touch operation.
[0110] In this embodiment, when making an explanation animation, multiple types can be made to adapt to the player's need to adjust the size of the interactive interface window. In this application scenario, a first animation clip and a second animation clip can be obtained separately, wherein the first animation clip includes the head and body of the explanation character, which can specifically include the complete character image or only the upper body image, and the second animation clip includes the head of the explanation character, which can specifically include the head, neck and shoulders. It is sufficient to ensure that the explanation character image displayed by the first animation clip is more complete than the explanation character image displayed by the second animation clip. Therefore, when making the animation, the first animation clip and the second animation clip are spliced together to obtain the first explanation animation and the second explanation animation.
[0111] The live interactive interface template includes an explanation area adjustment option. Players can touch this option to switch the size of the explanation area display window and the switch between the first explanation animation and the second explanation animation. For example, in the initial display interface, a larger resource explanation area window is displayed and the first explanation animation is played. After the player touches the adjustment option, it switches to a smaller window and continues to play the corresponding second explanation animation. In addition, the live interactive interface target can also include an interactive interface selection option, a mute option, a volume adjustment option, etc. The interactive interface selection option can be used to control the hiding or display of the interactive interface, the mute option can mute the explanation content, and the volume adjustment option is used to adjust the explanation volume.
[0112] Step 204: When the preset live broadcast time is reached, the live broadcast interactive interface is displayed in the form of a floating window in the game screen to play the explanation animation in the resource explanation area, and play the explanation voice synchronized with the explanation animation based on the explanation content, wherein the resource selection option in the resource selection area selectively displays explanation special effects based on the explanation animation in the resource explanation area, and the explanation special effects include popping up the resource selection option of the game resource being explained and / or adding display special effects to the resource selection option of the game resource being explained.
[0113] In this embodiment, the interactive interface display condition can be a preset live broadcast time. When the time is reached, the live interactive interface is displayed in a floating window, and an explanation animation is played in the resource explanation area of the interface. Specifically, the first explanation animation can be played initially, and the explanation voice is played synchronously with the explanation animation. Further, to facilitate players to quickly select the game resource being explained, explanation effects can be displayed based on the explanation animation in the resource explanation area, such as popping up a resource selection option corresponding to the game resource being explained, or adding display effects to the resource selection option, such as flashing the resource icon, displaying the resource name in a special color, etc.
[0114] It should be noted that when the live interactive interface is displayed, the initial display state of the resource selection area can be an overlapping display state. For example, a shopping bag icon can be displayed in the area. Players can click the shopping bag icon to view the complete list of resource selection options, thereby adding display effects to the options of the game resources being explained in the list.
[0115] Step 205, in response to the game resource insertion instruction, determine the resource configuration data to be inserted, wherein the resource configuration data to be inserted includes the resource data to be inserted and the resource explanation data to be inserted; associate the resource data to be inserted with the resource selection option module to form the resource selection option to be inserted, and add the resource selection option to be inserted to the resource selection area; after the explanation voice corresponding to the current game resource is played, play the explanation animation corresponding to the resource to be inserted in the resource explanation area, and synchronously play the explanation voice corresponding to the resource to be inserted.
[0116] In this embodiment, during the live broadcast process, the game client can receive a game resource insertion instruction from the game server, insert the resource to be inserted into the live broadcast, and associate the resource data to be inserted with the resource selection option module to obtain the resource selection option to be inserted. Specifically, refer to the association method of step 202, which will not be repeated here. Further, the resource selection option to be inserted is added to the resource selection area, and specifically can be inserted into the end position, or it can be inserted into the position after the game resource currently being explained. In order to avoid confusion caused by the resource explanation, after the explanation voice / explanation animation of the game resource currently being explained is played, the explanation animation of the inserted game resource can be played, and the explanation voice of the inserted game resource can be played synchronously. After the insertion of the resource live broadcast is completed, the original live broadcast is continued. In addition, the generation method of the explanation animation of the inserted resource can be referred to the method of step 203, which will not be repeated here.
[0117] Step 206, when any acquisition option is triggered, determine the target game resource corresponding to any acquisition option; according to the target acquisition condition corresponding to the target game resource, settle the current player character account through the corresponding target acquisition path, and then allocate the target game resource to the current player character account; or, based on the target acquisition path corresponding to the target game resource, enter the acquisition interface of the target game resource.
[0118] In this embodiment, when the acquisition option for any game resource within the resource selection area is triggered, the corresponding target game resource can be determined based on the acquisition option selected by the player. After the target game resource is determined, first, the target acquisition conditions corresponding to the resource can be obtained, and the player's character account can be settled using the target acquisition path corresponding to the resource, thereby allocating the target game resource to the player. The player can then directly purchase the game resource through the acquisition option. Second, based on the target acquisition path corresponding to the resource, the player can enter the acquisition interface for the resource, such as the mall interface for purchasing game costumes.
[0119] Step 207: Receive additional data on the quantity of the first game resource, update the real-time remaining quantity of the first game resource, play an additional animation of the first game resource in the resource explanation area and synchronously play additional voice, and / or display additional special effects of the first game resource in the resource selection area; and / or, receive additional data on the time of the second game resource, update the remaining available time of the second game resource, play a delayed animation of the second game resource in the resource explanation area and synchronously play delayed voice, and / or display a delayed special effect of the second game resource in the resource selection area.
[0120] In an embodiment of the present application, optionally, the resource selection option module also includes a remaining amount display position and / or a remaining time display position, the remaining amount display position is used to display the real-time remaining amount of the corresponding game resource, and the remaining time display position is used to display the remaining obtainable time of the corresponding game resource. The acquisition option of any game resource is changed to an unselectable state when the corresponding real-time remaining amount and / or remaining obtainable time is zero.
[0121] Among them, various game resources in the live broadcast can be sold in limited quantities or for a limited time. The remaining quantity and remaining available time of each game resource can be displayed in real time in the resource selection area. When the remaining quantity or remaining available time becomes 0, the corresponding acquisition option is set to an unavailable state. In this embodiment, the sales quantity and sales time of the game resources can also be supplemented. In a specific application scenario, when additional data on the quantity of any first game resource is received, the displayed real-time remaining quantity is updated. The animation and the explanation voice currently playing in the resource explanation area can also be paused, and an additional animation of the first game resource is inserted and played synchronously with the additional voice. For example, the explanation character says "XX has been restocked again". After the additional animation ends, the original explanation animation continues. When additional time data on any second game resource is received, the displayed remaining available time is updated, the animation and the explanation voice currently playing in the resource explanation area are paused, and a delayed animation of the second game resource is inserted and played synchronously with the delayed voice. For example, the explanation character says "XX has been opened for purchase for another five minutes. Everyone hurry up and buy it". After the delayed animation ends, the original explanation animation continues. In addition, if the remaining amount of the first game resource is 0 before receiving the additional data of the first game resource, then the acquisition option corresponding to the first game resource should be changed to an optional state while updating the remaining amount. Similarly, if the remaining acquisition time of the second game resource is 0 before receiving the additional data of the second game resource, then the acquisition option corresponding to the second game resource should be changed to an optional state while updating the time.
[0122] Step 208: When the target explanation animation corresponding to any game resource is finished, the target explanation animation is associated with the replay option of any game resource; when the replay option is triggered, the explanation character animation is played in the resource explanation area and the explanation voice of the target explanation animation is played synchronously. After the replay is finished, the explanation character animation after the corresponding length of the target explanation animation continues to be played in the resource explanation area and the corresponding explanation voice is played synchronously.
[0123] In this embodiment, in order to facilitate players to understand the game resources that have ended their live broadcast, the resource selection option module may also include a replay option. After the live broadcast of any game resource ends, that is, after the explanation animation of a certain game resource ends, the target explanation animation can be associated with the replay option of the game resource, so that when the replay option is triggered, the target explanation animation associated with the replay option is played in the resource explanation area and the corresponding voice is played synchronously. After the replay ends, or when the player finishes watching the replay, in order to show the realistic effect of the real live broadcast, the explanation animation that matches the duration of the target explanation animation can be automatically skipped according to the duration. For example, the original explanation animation has been played for 20 minutes. The player selects the replay of a certain game resource and watches the 5-minute explanation animation of the resource. After the replay content of the resource ends, it jumps directly to the 25-minute point of the original explanation animation to continue playing and play the voice synchronously.
[0124] In an embodiment of the present application, optionally, it may also include: obtaining the replay viewing preference of the current player, wherein the replay viewing preference is determined based on the historical replay operation data of the current player; editing the explanation animation corresponding to each of the game resources according to the replay viewing preference, obtaining the replay animation corresponding to each of the game resources, and editing the replay voice corresponding to the replay animation; when the target explanation animation corresponding to any game resource is finished, associating the target replay animation corresponding to the game resource with the corresponding replay option; when the replay option is triggered, playing the target replay animation in the resource explanation area and synchronously playing the replay voice corresponding to the target replay animation.
[0125] In this embodiment, the player's historical replay operation data can be statistically analyzed to determine the player's replay viewing preference. The replay animation can be set with a playback speed and playback progress adjustment function. The replay operation data can specifically include the player's adjustment operation on the replay animation, such as setting the speed of viewing, dragging the adjustment progress to the price explanation part, and based on the player's historical replay operation data, it can be determined which aspects of the explanation the player is more interested in, such as the functional introduction of game resources, or the price comparison of game resources, etc., so that the replay animation can be edited according to the preferences of different players, mainly retaining the content part that the player prefers more, and after the live animation of a certain game resource, that is, the explanation animation, is played, the replay animation corresponding to the resource is associated with the replay option, so that after the player selects the replay option, when watching the replay animation, he can more quickly understand the content he is interested in and save viewing time. In addition, after the replay ends, or when the player finishes watching the replay, in order to show the realistic effect of the real live broadcast, the explanation animation that matches the duration of the target explanation animation can be automatically skipped. By editing the replay animation, the duration of the replay animation can be shortened, which can also minimize the impact on the player's viewing of the live content.
[0126] In another embodiment of the present application, real-time live broadcasting can also be performed in a live broadcasting interactive interface. Optionally, when the interactive interface configuration data is stream data, after step 103, the following steps can also be included:
[0127] Step 104 : Based on the received streaming data, the explanation animation in the content explanation area, the explanation voice synchronized with the explanation animation, and the resource selection options in the content selection area are updated in real time.
[0128] In the above embodiment, real-time transmission of interactive interface configuration data can be achieved through real-time streaming data technology. After receiving the streaming data, the explanation animation is produced and played in real time in the displayed interactive interface (i.e., the live interactive interface) based on the streaming data, and the voice is played synchronously, and the resource selection options are configured in real time.
[0129] The specific configuration method can refer to the description of step 202 and step 203, which optionally includes:
[0130] S1, according to the resource icon, the resource name, the acquisition condition, and the acquisition path of the game resource in the streaming data, associating the icon display position, the name display position, the acquisition condition display position, and the acquisition options in the resource selection option module to obtain the resource selection options corresponding to the game resource;
[0131] S2, determining the speech waveform features of the explanation content in the streaming data, obtaining multiple explanation character animation clips matching the speech waveform features, wherein the explanation characters include non-player characters in the game; splicing the explanation character animation clips to obtain explanation animations, and associating the explanation animations to the resource explanation area of the live interactive interface template.
[0132] Optionally, the resource selection options in the resource selection area selectively display explanation effects based on the explanation animation in the resource explanation area, and the explanation effects include popping up the resource selection options of the game resources being explained and / or additionally displaying special effects on the resource selection options of the game resources being explained.
[0133] Optionally, it may also include: S3, when any acquisition option is triggered, determining the target game resource corresponding to any acquisition option; according to the target acquisition condition corresponding to the target game resource, after settling the current player character account through the corresponding target acquisition path, allocating the target game resource to the current player character account; or, based on the target acquisition path corresponding to the target game resource, entering the acquisition interface of the target game resource.
[0134] Optionally, the resource selection option module also includes a remaining quantity display position and / or a remaining time display position, the remaining quantity display position is used to display the real-time remaining quantity of the corresponding game resource, and the remaining time display position is used to display the remaining obtainable time of the corresponding game resource. The acquisition option of any game resource is changed to an unselectable state when the corresponding real-time remaining quantity and / or remaining obtainable time is zero; it may also include: S4, receiving additional data on the quantity of the first game resource, updating the real-time remaining quantity of the first game resource, playing an additional animation of the first game resource in the resource explanation area and synchronously playing additional voice, and / or, displaying an additional special effect of the first game resource in the resource selection area; and / or, receiving additional time data on the second game resource, updating the remaining obtainable time of the second game resource, playing a delayed animation of the second game resource in the resource explanation area and synchronously playing a delayed voice, and / or, displaying a delayed special effect of the second game resource in the resource selection area.
[0135] Optionally, it may also include: S5, when the target explanation animation corresponding to any game resource is finished, the target explanation animation is associated with the replay option of any game resource; when the replay option is triggered, the explanation character animation is played in the resource explanation area and the explanation voice of the target explanation animation is played synchronously. After the replay is finished, the explanation character animation after the corresponding length of the target explanation animation continues to be played in the resource explanation area and the corresponding explanation voice is played synchronously.
[0136] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides an interface interaction device in the game, such as Figure 3 As shown, the device includes:
[0137] A data receiving module, used for receiving interactive interface configuration data;
[0138] An interface configuration module, configured to generate an interactive interface based on the interactive interface configuration data and the interactive interface template;
[0139] The interface display module is used to display the interactive interface in the form of a floating window in the game screen when the interactive interface display conditions are met, wherein the interactive interface includes a content explanation area and a content selection area, and the optional content in the content selection area includes the explanation content of the content explanation area.
[0140] Optionally, the interactive interface configuration data includes at least one game resource data, resource explanation data for each game resource, and a resource explanation order for each game resource; the interface configuration module is specifically configured to:
[0141] Associating the game resource data corresponding to each game resource with the resource selection option module to form a resource selection option corresponding to each game resource, and associating the resource selection options with the resource selection area of the live interactive interface template in the order of resource explanation;
[0142] According to the resource explanation order, the game resource explanation data is sequentially associated with the resource explanation area of the live interactive interface template.
[0143] Optionally, the interface configuration module is specifically configured to:
[0144] Determining speech waveform features of the explanation content, and obtaining a plurality of explanation character animation clips matching the speech waveform features, wherein the explanation characters include non-player characters in the game;
[0145] Splicing the explanation character animation clips to obtain an explanation animation, and associating the explanation animation to the resource explanation area of the live interactive interface template;
[0146] Accordingly, the interface display module is specifically used to:
[0147] When the preset live broadcast time is reached, the live broadcast interactive interface is displayed in the form of a floating window on the game screen to play the explanation animation in the resource explanation area, and play the explanation voice synchronized with the explanation animation based on the explanation content, wherein the resource selection option in the resource selection area selectively displays explanation special effects based on the explanation animation in the resource explanation area, and the explanation special effects include popping up the resource selection option of the game resource being explained and / or adding display effects to the resource selection option of the game resource being explained.
[0148] Optionally,
[0149] The data receiving module is further configured to, after displaying the interactive interface in a floating window on the game screen when the interactive interface display condition is met, respond to a game resource insertion instruction and determine resource configuration data to be inserted, wherein the resource configuration data to be inserted includes resource data to be inserted and resource explanation data to be inserted;
[0150] The interface configuration module is further configured to associate the resource data to be inserted with the resource selection option module to form the resource selection option to be inserted, and add the resource selection option to be inserted to the resource selection area;
[0151] The interface display module is also used to play the explanation animation corresponding to the resource to be inserted in the resource explanation area after the explanation voice corresponding to the current game resource is played, and synchronously play the explanation voice corresponding to the resource to be inserted.
[0152] Optionally, the explanation character animation clip includes a first animation clip and a second animation clip of the explanation character, the first animation clip includes the head and body of the explanation character, the second animation clip includes the head of the explanation character, and the screen size of the first animation clip is larger than the screen size of the second animation clip; the interface configuration module is specifically used to:
[0153] splicing the first animation clips to obtain a first explanation animation, and splicing the second animation clips to obtain a second explanation animation;
[0154] Associate the first explanation animation to the resource explanation area of the live interactive interface template, wherein the live interactive interface template includes at least one of an explanation area adjustment option, an interactive interface selection option, a mute option, and a volume adjustment option. The explanation area adjustment option is used to switch the playback animation in the resource explanation area based on a touch operation, and the interactive interface selection option is used to hide or display the interactive interface based on a touch operation.
[0155] Optionally, the game resource data includes a resource icon, resource name, acquisition conditions, and acquisition path of the game resource; the interface configuration module is specifically used to:
[0156] According to the resource icon, the resource name, the acquisition condition, and the acquisition path of each game resource, the icon display position, the name display position, the acquisition condition display position, and the acquisition option in the resource selection option module are respectively associated to obtain the resource selection option corresponding to each game resource;
[0157] Accordingly, the device further comprises:
[0158] The resource acquisition module is used to determine the target game resource corresponding to any acquisition option when the acquisition option is triggered; according to the target acquisition condition corresponding to the target game resource, after settling the current player character account through the corresponding target acquisition path, the target game resource is allocated to the current player character account; or, based on the target acquisition path corresponding to the target game resource, enter the acquisition interface of the target game resource.
[0159] Optionally, the resource selection option module further includes a remaining quantity display position and / or a remaining time display position, wherein the remaining quantity display position is used to display the real-time remaining quantity of the corresponding game resource, and the remaining time display position is used to display the remaining available time of the corresponding game resource. When the corresponding real-time remaining quantity and / or remaining available time is zero, the acquisition option of any game resource is changed to an unselectable state;
[0160] After the interactive interface is displayed in the form of a floating window on the game screen, the device further includes: an additional module for:
[0161] receiving additional data on the quantity of a first game resource, updating the real-time remaining quantity of the first game resource, playing an additional animation of the first game resource in the resource explanation area and synchronously playing additional voice, and / or displaying additional special effects of the first game resource in the resource selection area; and / or,
[0162] Receive additional time data for a second game resource, update the remaining available time of the second game resource, play a delayed animation of the second game resource in the resource explanation area and synchronously play delayed voice, and / or display a delayed special effect of the second game resource in the resource selection area.
[0163] Optionally, the resource selection option module further includes a replay option; the device further includes: a replay module, configured to:
[0164] When the target explanation animation corresponding to any game resource is finished, the target explanation animation is associated with the replay option of any game resource; when the replay option is triggered, the explanation character animation is played in the resource explanation area and the explanation voice of the target explanation animation is played synchronously. After the replay is finished, the explanation character animation after the corresponding length of the target explanation animation continues to be played in the resource explanation area and the corresponding explanation voice is played synchronously.
[0165] Optionally, the interface configuration module is further configured to obtain a replay viewing preference of the current player, wherein the replay viewing preference is determined based on the historical replay operation data of the current player; edit the explanation animation corresponding to each of the game resources according to the replay viewing preference to obtain a replay animation corresponding to each of the game resources, and edit the replay voice corresponding to the replay animation;
[0166] The replay module is also used to associate the target replay animation corresponding to any game resource with the corresponding replay option after the target explanation animation corresponding to the game resource is finished; when the replay option is triggered, the target replay animation is played in the resource explanation area and the replay voice corresponding to the target replay animation is played synchronously.
[0167] Optionally, the interface configuration module is further configured to:
[0168] In the case where the interactive interface configuration data is streaming data, the explanation animation in the content explanation area, the explanation voice synchronized with the explanation animation, and the resource selection options in the content selection area are updated in real time based on the received streaming data.
[0169] Optionally, the interactive interface configuration data includes at least one activity data, activity explanation data for each activity, and an activity explanation order; the interface configuration module is further configured to:
[0170] Associating the activity data of each activity with the activity selection option module to form activity selection options corresponding to each activity, and associating the activity selection options with the activity selection area of the activity interaction interface in sequence according to the activity explanation order;
[0171] According to the activity explanation sequence, the activity explanation data is sequentially associated with the activity explanation area of the activity interaction interface.
[0172] It should be noted that for other corresponding descriptions of the functional units involved in the in-game interface interaction device provided in the embodiment of the present application, please refer to Figures 1 to 2 The corresponding description in the method will not be repeated here.
[0173] Based on the above Figures 1 to 2The method shown in FIG. 1 is a method for performing the above-mentioned operation. Accordingly, the embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned operation is performed. Figures 1 to 2 The interface interaction method within the game is shown.
[0174] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0175] Based on the above Figures 1 to 2 The method shown, and Figure 3 In order to achieve the above-mentioned purpose, the embodiment of the present application further provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figures 1 to 2 The interface interaction method within the game is shown.
[0176] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a Wi-Fi interface), etc.
[0177] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the computer device, and may include more or fewer components, or a combination of certain components, or different component arrangements.
[0178] The storage medium may also include an operating system and a network communication module. An operating system is a program that manages and stores the hardware and software resources of a computer device, supporting the execution of information processing programs and other software and / or programs. The network communication module facilitates communication between components within the storage medium, as well as with other hardware and software within the physical device.
[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by means of hardware, where the game client receives the interactive interface configuration data, configures the interactive interface template according to the configuration data, generates an interactive interface, and when the display conditions of the interactive interface are met, displays the interactive interface in the form of a floating window on the basis of the existing game screen, wherein the interactive interface includes a content explanation area and a content selection area, and the content explanation area can explain the optional content in the content selection area. Compared with the content interaction method of the prior art, the embodiment of the present application configures the interactive interface template according to the interactive interface configuration data, and then displays the interactive interface in the form of a floating window on the original game screen, thereby avoiding obstruction of important information on the game screen and not affecting the player's normal game experience. At the same time, the interactive interface can provide content explanations, reducing the player's reading costs and the cost of content popularization.
[0180] Those skilled in the art will understand that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required to implement the present application. Those skilled in the art will understand that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple sub-modules.
[0181] The serial numbers of the above application are for descriptive purposes only and do not represent the advantages or disadvantages of the implementation scenarios. The above disclosure only discloses several specific implementation scenarios of the present application, but the present application is not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the scope of protection of the present application.
Claims
1. A method for interface interaction in a game, characterized in that: include: Receiving interactive interface configuration data, wherein the game server sends the interactive interface configuration data to the game client, wherein the interactive interface configuration data includes configuration data of content to be displayed, and the content to be displayed includes in-game announcements, messages to be announced, and game resources for sale; Generating a live interactive interface based on the interactive interface configuration data and the live interactive interface template, including: determining voice waveform features of the explanation content, obtaining multiple explanation character animation clips matching the voice waveform features, wherein the explanation characters include non-player characters in the game; splicing the explanation character animation clips to obtain explanation animations, and associating the explanation animations with the content explanation area of the live interactive interface template; When the conditions for displaying the live interactive interface are met, the live interactive interface is displayed in the form of a floating window in the game screen, wherein the live interactive interface includes a content explanation area and a content selection area, and the optional content in the content selection area includes the explanation content of the content explanation area, and the explanation content is output through non-player characters in the game.
2. The method according to claim 1, characterized in that The interactive interface configuration data includes game resource data of at least one game resource, resource explanation data of each game resource, and the resource explanation order of each game resource; generating a live interactive interface based on the interactive interface configuration data and the live interactive interface template specifically includes: Associating the game resource data corresponding to each game resource with the resource selection option module to form a resource selection option corresponding to each game resource, and sequentially associating the resource selection options with the content selection area of the live interactive interface template according to the resource explanation order; According to the resource explanation order, the resource explanation data of each game resource is sequentially associated with the content explanation area of the live interactive interface template.
3. The method according to claim 2, characterized in that When the live interactive interface display condition is met, the live interactive interface is displayed in the form of a floating window on the game screen, specifically including: When the preset live broadcast time is reached, the live broadcast interactive interface is displayed in the form of a floating window on the game screen to play the explanation animation in the content explanation area, and play the explanation voice synchronized with the explanation animation based on the explanation content, wherein the resource selection option in the content selection area selectively displays explanation special effects based on the explanation animation in the content explanation area, and the explanation special effects include popping up the resource selection option of the game resource being explained and / or adding display effects to the resource selection option of the game resource being explained.
4. The method according to claim 3, characterized in that When the live interactive interface display condition is met, after displaying the live interactive interface in the form of a floating window on the game screen, the method further includes: In response to the game resource insertion instruction, determining resource configuration data to be inserted, wherein the resource configuration data to be inserted includes resource data to be inserted and resource explanation data to be inserted; Associating the resource data to be inserted into the resource selection option module to form the resource selection option to be inserted, and adding the resource selection option to be inserted to the content selection area; After the explanation voice corresponding to the current game resource is played, the explanation animation corresponding to the resource to be inserted is played in the content explanation area, and the explanation voice corresponding to the resource to be inserted is played synchronously.
5. The method according to claim 3, characterized in that The game resource data includes the resource icon, resource name, acquisition conditions, and acquisition path of the game resource; the game resource data corresponding to each game resource is respectively associated with the resource selection option module to form the resource selection option corresponding to each game resource, specifically including: Based on the resource icon, the resource name, the acquisition condition, and the acquisition path of each game resource, the icon display position, the name display position, the acquisition condition display position, and the acquisition option in the resource selection option module are respectively associated to obtain the resource selection option corresponding to each game resource; the resource selection option module also includes a remaining quantity display position and / or a remaining time display position, the remaining quantity display position is used to display the real-time remaining quantity of the corresponding game resource, and the remaining time display position is used to display the remaining available time of the corresponding game resource. When the corresponding real-time remaining quantity and / or remaining available time is zero, the acquisition option of any game resource changes to an unselectable state; Correspondingly, after displaying the live interactive interface in the form of a floating window on the game screen, the method further includes: When any acquisition option is triggered, determining the target game resource corresponding to the acquisition option; According to the target acquisition conditions corresponding to the target game resources, after settling the current player character account through the corresponding target acquisition path, the target game resources are allocated to the current player character account; or, based on the target acquisition path corresponding to the target game resources, the acquisition interface of the target game resources is entered.
6. The method according to claim 3, characterized in that The resource selection option module further includes a replay option; after splicing the explanation character animation clips to obtain the explanation animation, the method further includes: When the target explanation animation corresponding to any game resource ends, the target replay animation corresponding to the game resource is associated with the corresponding replay option, wherein the target replay animation is the target explanation animation corresponding to the game resource or the replay animation of the game resource edited based on the current player's replay viewing preference; When the replay option is triggered, the target replay animation is played in the content explanation area and the replay voice corresponding to the target replay animation is played synchronously. After the replay ends, the explanation character animation after the corresponding length of the target explanation animation continues to be played in the content explanation area and the corresponding explanation voice is played synchronously.
7. The method according to any one of claims 1 to 6, characterized in that In the case where the interactive interface configuration data is stream data, after displaying the live interactive interface in a floating window on the game screen when the live interactive interface display condition is met, the method further includes: Based on the received streaming data, the explanation animation in the content explanation area, the explanation voice synchronized with the explanation animation, and the resource selection options in the content selection area are updated in real time.
8. An interface interaction device within a game, characterized in that: include: A data receiving module, configured to receive interactive interface configuration data, wherein the game server sends the interactive interface configuration data to the game client, wherein the interactive interface configuration data includes configuration data of content to be displayed, wherein the content to be displayed includes in-game announcements, messages to be announced, and game resources for sale; An interface configuration module, configured to generate an interactive interface based on the interactive interface configuration data and a live interactive interface template; An interface display module is configured to display the live interactive interface in a floating window on the game screen when display conditions for the live interactive interface are met, wherein the live interactive interface includes a content explanation area and a content selection area, and the optional content in the content selection area includes the explanation content in the content explanation area, and the explanation content is output through a non-player character in the game; The interface configuration module is specifically used to: determine the voice waveform characteristics of the explanation content, obtain multiple explanation character animation clips that match the voice waveform characteristics, wherein the explanation characters include non-player characters in the game; splice the explanation character animation clips to obtain explanation animations, and associate the explanation animations with the content explanation area of the live interactive interface template.
9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and device for recommending information in live broadcast, and storage medium
CN112399200A
Contextual digital media processing systems and methods
CN112639759A
Interaction method and device based on cloud game, electronic equipment and readable storage medium
CN113457123A
Method and device for generating commodity object explanation video
CN113542624A