Live interaction method, device, storage medium and electronic device within a game scenario
By setting a virtual live broadcast screen in the game scene and responding to the interactive behavior of virtual characters, the problem of single interaction between games and live broadcasts is solved, and the interaction integration between game characters and live broadcasts is achieved, and the immersive viewing experience is improved.
Patent Information
- Application Number
- CN202310094975.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2043-01-31
AI Technical Summary
The interaction between games and live broadcasts is single, and the immersion experience is poor.
By setting up a virtual live broadcast screen in the game scene, obtaining live broadcast data and displaying the live broadcast screen, responding to the interactive behavior of virtual characters in the game scene, sending the interactive data to the live broadcast platform for synchronization, realizing the interactive integration between game characters and live broadcasts.
It enriches the interactive methods of live broadcasts and improves the immersive viewing experience of live broadcasts.
Smart Images

Figure CN116055760B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technologies, and in particular, to a live interaction method in a game scene, a live interaction device in a game scene, a computer-readable storage medium, and an electronic device. Background Art
[0002] With the continuous development of games, more and more games have embedded live broadcast services, so that game players can also watch live broadcasts in the game, bringing a richer entertainment experience to game players.
[0003] In the related art, usually a live broadcast service viewing entrance is reserved in the game interface, and the live broadcast service is embedded in the game. Game players open the live broadcast interface through this live broadcast service viewing entrance and then watch the live broadcast. The live broadcast interface and the game interface are usually simply superimposed together, and the interaction method between the game interface and the live broadcast interface is single, and the immersion experience is poor.
[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention
[0005] The present disclosure provides a live interaction method in a game scene, a live interaction device in a game scene, a computer-readable storage medium, and an electronic device, thereby at least to some extent overcoming the problems of single interaction method between the game and the live broadcast and poor immersion experience in the related art.
[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be partially learned through the practice of the present disclosure.
[0007] According to a first aspect of the present disclosure, there is provided a live interaction method in a game scene. A game interface is provided through a terminal device. The game interface includes at least part of the game scene. The game scene includes a first virtual character and a virtual live broadcast screen. The first virtual character is controlled by the terminal device. The method includes: obtaining target live broadcast data from a target live broadcast platform, and based on the target live broadcast data, displaying a live broadcast picture on the virtual live broadcast screen; in response to a live interaction behavior of the first virtual character in the game scene, sending live interaction data corresponding to the live interaction behavior to the target live broadcast platform, so that the target live broadcast platform synchronizes the live interaction behavior based on the live interaction data.
[0008] According to a second aspect of the present disclosure, there is provided a live interaction device within a game scene. A game interface is provided through a terminal device, and at least a part of the game scene is included in the game interface. The game scene includes a first virtual character and a virtual live screen, and the first virtual character is controlled by the terminal device. The device includes: a screen display module, configured to obtain target live data from a target live platform and, based on the target live data, display a live screen on the virtual live screen; a live interaction module, configured to respond to a live interaction behavior of the first virtual character in the game scene, and send live interaction data corresponding to the live interaction behavior to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data.
[0009] According to a third aspect of the present disclosure, there is provided a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the above-mentioned live interaction method within a game scene is implemented.
[0010] According to a fourth aspect of the present disclosure, there is provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned live interaction method within a game scene by executing the executable instructions.
[0011] The technical solution of the present disclosure has the following beneficial effects:
[0012] During the above-mentioned live interaction within a game scene, target live data is obtained from a target live platform, and based on the target live data, a live screen is displayed on the virtual live screen; in response to a live interaction behavior of the first virtual character in the game scene, live interaction data corresponding to the live interaction behavior is sent to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data. On the one hand, by responding to the live interaction behavior of the first virtual character in the game scene, the interactive integration between the game character behavior and the live broadcast is realized, enriching the live interaction method to a certain extent. On the other hand, by setting a virtual live screen in the game scene, the live viewing within the game scene is realized, enhancing the immersive viewing experience of the live broadcast to a certain extent.
[0013] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
[0015] Figure 1 Showing the system architecture in which a live interaction method and device in a game scenario operate in this exemplary embodiment;
[0016] Figure 2 Showing the flowchart of a live interaction method in a game scenario in this exemplary embodiment;
[0017] Figure 3A Showing an example diagram of a game scenario in this exemplary embodiment;
[0018] Figure 3B Showing an example diagram of a game scenario including a live viewing area in this exemplary embodiment;
[0019] Figure 3C Showing an example diagram of throwing a live interaction prop in this exemplary embodiment;
[0020] Figure 3D Showing an example diagram of chat content display in this exemplary embodiment;
[0021] Figure 4 Showing the structural block diagram of a live interaction device in a game scenario in this exemplary embodiment;
[0022] Figure 5 Showing an electronic device for implementing the above live interaction method in a game scenario. Detailed implementation manners
[0023] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The features, structures, or characteristics described may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will recognize that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or may be implemented using other methods, components, devices, steps, etc. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring aspects of the present disclosure.
[0024] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0025] In this document, "first", "second", etc. are labels for specific objects and do not limit the quantity or order of the objects.
[0026] In the related art, a live service viewing entrance is usually reserved in the game interface for game players to watch the live broadcast. Game players can usually only send messages such as bullet screens and emojis in the live broadcast interface, and the live interaction behavior is relatively single. In addition, in the game, the live broadcast screen is usually presented in an interface interaction manner, resulting in a poor immersive live viewing experience for game players.
[0027] In view of the above one or more problems, the exemplary embodiments of the present disclosure provide a live interaction method in a game scene, a live interaction device in a game scene, a computer-readable storage medium, and an electronic device.
[0028] In one embodiment of the present disclosure, the live interaction method in the game scene can run on a local terminal device or a server. When the live interaction method in the game scene runs on the server, the method can be implemented and executed based on a cloud interaction system, where the cloud interaction system includes a server and a client device.
[0029] In an optional implementation, various cloud applications, such as cloud games, can be run under the cloud interaction system. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the live interactive method in the game scene are completed on the cloud game server. The role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0030] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0031] like Figure 1 As shown, a system architecture diagram for live broadcast interaction in a game scene is provided, and the system architecture diagram may include: a terminal device 101, a server 102, and a live broadcast platform 103. The terminal device 101 and the server 102, and the server 102 and the live broadcast platform 103 may communicate via a network. The network may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc. It should be understood that Figure 1 The number of terminal devices in the figure is only for illustration. Any number of terminal devices may be included according to implementation requirements.
[0032] In a possible implementation manner, an embodiment of the present invention provides a live interaction method in a game scenario. A game interface is provided through a terminal device, and at least part of the game scenario is included in the game interface. The game scenario may include a first virtual character and a virtual live screen, and the first virtual character is controlled by the terminal device. The terminal device may be the aforementioned local terminal device or the client device in the aforementioned cloud interaction system. The terminal device can be used to control the first virtual character to perform different game behaviors in the game scenario, such as using game props, performing game actions, etc.
[0033] Figure 2 The flowchart of the live interaction method in the game scenario in an exemplary embodiment of the present disclosure is shown, and specifically may include the following steps S210 to step S220:
[0034] Step S210, obtain target live data from a target live platform, and based on the target live data, display a live broadcast screen on the virtual live screen;
[0035] Step S220, in response to the live interaction behavior of the first virtual character in the game scenario, send the live interaction data corresponding to the live interaction behavior to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data.
[0036] In Figure 2 In the technical solution provided by the shown embodiment, obtain target live data from a target live platform, and based on the target live data, display a live broadcast screen on the virtual live screen; in response to the live interaction behavior of the first virtual character in the game scenario, send the live interaction data corresponding to the live interaction behavior to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data. Compared with the related art, on the one hand, by responding to the live interaction behavior of the first virtual character in the game scenario, the interactive integration between the game character behavior and the live broadcast is realized, enriching the live interaction method to a certain extent. On the other hand, by setting a virtual live screen in the game scenario, the live viewing in the game scenario is realized, improving the immersive viewing experience of the live broadcast to a certain extent.
[0037] It should be noted that the present disclosure does not limit the execution order of step S210 and step S120, and the two can be carried out synchronously. For step S210, the target live data can be continuously obtained from the target live platform to enable the virtual live screen to continuously play the live broadcast screen, and the live broadcast screen can start playing after each virtual character enters the game scenario. For step S220, if the live interaction behavior of the first virtual character in the game scenario is detected, the corresponding live interaction behavior can be responded to.
[0038] The specific implementation manners of each step in the Figure 2 illustrated embodiments are elaborated in detail as follows:
[0039] In step S210, target live broadcast data is obtained from a target live broadcast platform, and based on the target live broadcast data, a live broadcast picture is displayed on a virtual live broadcast screen.
[0040] Specifically, after obtaining the target live broadcast data from the target live broadcast platform, the target live broadcast data can be parsed into a live broadcast picture and displayed on the virtual live broadcast screen, thereby realizing the live broadcast playback in the game scene.
[0041] Among them, the target live broadcast platform can be a specific live broadcast platform having a cooperative relationship with the current game manufacturer. The target live broadcast data can be the live broadcast data corresponding to a certain live broadcast room pushed by the target live broadcast platform.
[0042] Optionally, the target live broadcast platform pushes the live broadcast data corresponding to different live broadcast rooms to the terminal devices located in different game service areas, so that game players can watch different types of live broadcasts by switching game service areas.
[0043] Exemplarily, as Figure 3A shown in the game scene instance diagram, a virtual live broadcast screen 302 can be configured in the game scene 301, and the virtual live broadcast screen 302 can be used to play the live broadcast picture.
[0044] In step S220, in response to the live broadcast interaction behavior of the first virtual character in the game scene, the live broadcast interaction data corresponding to the live broadcast interaction behavior is sent to the target live broadcast platform, so that the target live broadcast platform synchronizes the live broadcast interaction behavior based on the live broadcast interaction data.
[0045] The live broadcast interaction behavior can be, for example, the use behavior of the first virtual character on the live broadcast interaction props in the game scene, the activity behavior of the first virtual character in the live broadcast interaction area in the game scene, etc.
[0046] The live broadcast interaction data can include but is not limited to data such as the character identifier of the first virtual character, the prop identifier of the live broadcast interaction prop used, and the action object of the live broadcast interaction prop used. It should be noted that the live broadcast interaction data here can be the live broadcast interaction data generated based on the use behavior of the first virtual character on the live broadcast interaction props in the game scene, or the live broadcast interaction data generated based on the game behavior of the first virtual character in the live broadcast interaction area in the game scene.
[0047] After detecting the live interaction behavior of the first virtual character in the game scene, the live interaction data corresponding to the live interaction behavior can be sent to the target live streaming platform, so that the target live streaming platform can synchronize the live interaction behavior of the first virtual character based on the obtained live interaction data, so as to generate relevant prompt information of the live interaction behavior of the first virtual character in the live video.
[0048] In an optional implementation manner, the game scene may further include a live viewing area, where the live viewing area may be located in front of the virtual live screen.
[0049] Specifically, the live viewing area may be a position area pre-divided in the game scene that is suitable for viewing the virtual live screen and can be set in front of the virtual live screen. Exemplarily, as Figure 3B shown, a game scene instance diagram including a live viewing area 303 is provided.
[0050] By setting the live viewing area, a more suitable viewing angle can be provided for each virtual character in the game scene, and at the same time, the immersive experience of game players can be enhanced.
[0051] Since the first virtual character can move in the game scene, at a certain moment, the first virtual character may be located in the live viewing area or may not be located in the live viewing area.
[0052] In an optional implementation manner, if the current position of the first virtual character is not within the live viewing area, a live viewing control can be displayed in the game interface or beside the first virtual character, and the live viewing operation corresponding to the first virtual character can be a click operation on the live viewing control. After detecting the live viewing operation corresponding to the first virtual character, the first virtual character can be teleported from the current position to within the live viewing area, so that the live video played on the virtual live screen can be viewed from the perspective of the first virtual character.
[0053] In the above steps, by teleporting the first virtual character, there is no need to control the first virtual character to gradually move to the live viewing area, which can make the live viewing from the perspective of the first virtual character more convenient and fast.
[0054]
[0055] In an alternative embodiment, the live viewing area may further include the spawning locations of live interaction props. The specific positions of the spawning locations of the live interaction props in the live viewing area can be set by developers according to requirements and are not specifically limited here. Live interaction props can be generated at the spawning locations regularly or irregularly for the virtual characters included in the game scene to use.
[0056] Optionally, live interaction props can be refreshed at the spawning locations based on a preset refresh time. It should be noted that live interaction props can be divided into different types, and the preset refresh times corresponding to different types of live interaction props can be different.
[0057] Exemplarily, live interaction props can be divided into types such as like props and gift props based on the interaction methods of the props.
[0058] Exemplarily, live interaction props can also be divided into props that can be used without unlocking and props that need to be unlocked based on the setting of whether the props need to be unlocked. The unlocking methods include, but are not limited to, one or more of the following methods: unlocking by payment, unlocking by cumulative points, unlocking by character level, etc.
[0059] By refreshing live interaction props, the virtual characters included in the game scene can have live interaction props, so as to provide an interaction medium for the virtual characters included in the game scene to conduct live interactions, thereby enriching the live interaction methods.
[0060] If a collision occurs between the first virtual character and a live interaction prop in the game scene, the first virtual character can be controlled to pick up the collided live interaction prop, so that the first virtual character has the live interaction prop. It should be noted that in order to distinguish different live interaction props, prop identifiers can be set for the live interaction props.
[0061] In an alternative embodiment, after a live interaction prop is refreshed in the live viewing area, the following steps can be executed to enable the first virtual character to pick up the live interaction prop refreshed at the spawning location: If it is detected that a collision occurs between the first virtual character and the live interaction prop located at the spawning location, determine the prop identifier corresponding to the live interaction prop collided by the first virtual character; Based on the prop identifier corresponding to the live interaction prop collided by the first virtual character, control the first virtual character to pick up the collided live interaction prop.
[0062] Exemplarily, after the first virtual character collides with the live interactive prop located at the refresh location, the first virtual character can hold up the collided live interactive prop in its hand to prompt the game player that the first virtual character has picked up the corresponding live interactive prop and obtained the corresponding live interactive prop. If the first virtual character already holds a live interactive prop in its hand, it can avoid the pick-up process after colliding with other live interactive props located at the refresh location, so that the first virtual character can pick up one live interactive prop each time.
[0063] It should be noted that if the first virtual character collides with a live interactive prop that needs to be unlocked before use, the live interactive prop that needs to be unlocked before use can be unlocked first, and then the first virtual character can be controlled to pick up the collided live interactive prop. If the unlocking fails, relevant prompt information for unlocking failure can be generated to prompt the game player.
[0064] In the above steps, by controlling the first virtual character to pick up the collided live interactive prop, an interaction medium is provided for the interaction between the game and the live broadcast, so as to realize the interaction between the game and the live broadcast based on the live interactive prop.
[0065] In an optional implementation manner, in step S220 above, responding to the live interactive behavior of the first virtual character in the game scene and sending the live interactive data corresponding to the live interactive behavior to the target live broadcast platform may include the following steps: responding to the use event of the live interactive prop held by the first virtual character in the game scene, and determining the prop identifier corresponding to the live interactive prop used by the first virtual character; based on the prop identifier corresponding to the live interactive prop used by the first virtual character, generating the first live interactive data and sending the first live interactive data to the target live broadcast platform.
[0066] The live interactive behavior may include: the use behavior of the live interactive prop. The first live interactive data refers to the use data corresponding to the live interactive prop held by the first virtual character, including but not limited to: the prop user, the functional type of the prop, the prop acting party, etc.
[0067] If the first virtual character triggers the use event of the live interactive prop, the prop identifier corresponding to the live interactive prop used by the first virtual character can be obtained to further clarify the object of the live interactive prop triggered by the first virtual character.
[0068] Generate first live interaction data based on the item identifier corresponding to the live interaction item used by the first virtual character, so that the terminal device can interact with the target live platform, enabling the target live platform to provide live interaction feedback for the received first live interaction data, and then presenting relevant prompt information about the live interaction item usage behavior of the first virtual character in the live video displayed on the virtual live screen.
[0069] Exemplarily, if the live interaction item used by the first virtual character is a like item, after the target live platform obtains the first live interaction data corresponding to the like item, it can update the like data of the live stream and synchronize the updated like data for the live stream, so that the like data information is updated synchronously on the live video of the virtual live screen.
[0070] Exemplarily, if the live interaction item used by the first virtual character is a gift item, after the target live platform obtains the first live interaction data corresponding to the gift item, it can update the host gift data corresponding to the live stream and synchronize the updated host gift data for the live stream, so that the host gift data information is updated synchronously on the live video of the virtual live screen.
[0071] In the above steps, through the use of live interaction items, not only is the interaction between the game and the live stream realized, enriching the interaction methods of the live stream, but also the fun of the game is enhanced to a certain extent.
[0072] When the first virtual character holds a live interaction item, a item usage control corresponding to the live interaction item held by the first virtual character can be generated in the game interface for game players to use the item. The game player can trigger the usage event of the live interaction item held by the first virtual character in the game scene by clicking on the item usage control.
[0073] In an optional implementation manner, the triggering method of the usage event of the live interaction item held by the first virtual character in the game scene may include: in response to a item throwing operation on the live interaction item held by the first virtual character, determining whether the live interaction item thrown by the first virtual character collides with an interactable object; if the live interaction item held by the first virtual character collides with an interactable object, then trigger the usage event of the live interaction item held by the first virtual character in the game scene.
[0074] The item throwing operation refers to the operation of throwing the live interaction item held by the first virtual character.
[0075] An interactive object refers to an object in the game scene that can cause a live interactive prop to generate a response after colliding with the live interactive prop. Exemplarily, the interactive object may include any one or more of the following: a virtual live screen, a second virtual character, and a character chat display area corresponding to the second virtual character, where the second virtual character may be other virtual characters in the game scene except the first virtual character. It should be noted that the game scene may include multiple virtual characters, and each virtual character in the game scene can pick up and use the live interactive prop. The controlled terminal device corresponding to the second virtual character can control the second virtual character to use the live interactive prop held.
[0076] As Figure 3C shown, taking the interactive object as a virtual live screen as an example, a live interactive prop throwing instance diagram is provided, where the prop 304 is a live interactive prop thrown by the first virtual character 305 towards the virtual live screen.
[0077] After the live interactive prop held by the first virtual character is thrown, it can be determined whether there is a collision between the thrown live interactive prop and the interactive object. If a collision occurs, it triggers an event for the first virtual character to use the live interactive prop held in the game scene, providing an immersive live interaction experience for game players.
[0078] In an alternative embodiment, in response to the prop throwing operation for the live interactive prop held by the first virtual character, it is determined whether there is a collision between the live interactive prop thrown by the first virtual character and the interactive object, which can be specifically implemented through the following steps: In response to the prop throwing operation for the live interactive prop held by the first virtual character, determine the prop throwing trajectory so that the live interactive prop thrown by the first virtual character moves along the prop throwing trajectory; determine whether there is a collision between the live interactive prop thrown by the first virtual character and the interactive object.
[0079] Exemplarily, in response to the pressing operation of the prop use control in the game interface, a direction joystick can be generated in the game interface, and the direction joystick can be used to control the throwing direction of the live interactive prop; in response to the releasing operation of the prop use control in the game interface, the live interactive prop held by the first virtual character is thrown.
[0080] It should be noted that if the prop throwing direction is not set during the prop throwing operation, the default direction of the first virtual character (for example, directly in front) can be used as the prop throwing direction to determine the prop throwing trajectory.
[0081] In the above steps, by controlling the live interactive prop thrown by the first virtual character to move along the prop throwing trajectory, the prop interaction experience of game players can be improved to a certain extent.
[0082] In an alternative embodiment, if the live interaction prop thrown by the first virtual character does not hit the interactive object after running along the prop throwing trajectory, the live interaction prop thrown by the first virtual character is controlled to move towards the interactive object until a collision occurs with the interactive object.
[0083] Taking the interactive object as the virtual live screen as an example, if the live interaction prop thrown by the first virtual character does not hit the virtual live screen after running along the prop throwing trajectory, the thrown live interaction prop can be made to stay at the throwing destination for a certain number of seconds, and then the live interaction prop thrown by the first virtual character is controlled to move towards the virtual live screen until a collision occurs with the virtual live screen, so as to facilitate the game player to observe the running state of the live interaction prop. It should be noted that during the period when the thrown live interaction prop stays at the throwing destination, the first virtual character can also be controlled to pick up and use other live interaction props to avoid the first virtual character being out of control for too long, which is beneficial to improving the game player's operation experience. In addition, the staying time of the live interaction prop at the throwing destination can be set according to actual needs and is not specifically limited here.
[0084] It should be noted that if there are multiple interactive objects, when the live interaction prop thrown by the first virtual character does not hit any of the interactive objects after running along the prop throwing trajectory, the interactive object closest to the throwing destination can be used as the object that the live interaction prop finally needs to further interact with. Specifically, the live interaction prop thrown by the first virtual character can be controlled to move towards the interactive object closest to the throwing destination.
[0085] In the above steps, by re-throwing the live interaction prop, the problem of the failure to trigger the live interaction prop usage event caused by inaccurate operation of the game player can be avoided.
[0086] Optionally, after throwing the live interaction prop held by the first virtual character, a prop usage prompt message can also be generated on the game interface, and the prop usage prompt message can be eliminated after being displayed for a certain number of seconds, so as to more intuitively prompt the game player about the prop usage situation. It should be noted that the specific time for the prop prompt message to be displayed in the game interface can be set according to actual needs and is not specifically limited here. In addition, different live interaction props can also generate prop prompt messages with different display levels, which can be specifically set according to actual needs and are not further limited here.
[0087] Taking the interactive object as the second virtual character as an example, if the second virtual character generates live chat content in the live chat channel, the first virtual character can respond to the collision between the liked prop thrown by the first virtual character and the second virtual character, and the first virtual character can like the live chat content corresponding to the second virtual character.
[0088] Taking the character chat display area corresponding to the second virtual character as an interactive object as an example, it can respond to the collision between the like prop thrown by the first virtual character and the chat display area of the second virtual character, and realize the first virtual character's like of the live chat content in the chat display area corresponding to the second virtual character. Among them, the character chat display area corresponding to the second virtual character is located beside the second virtual character.
[0089] In addition, in order to more intuitively display the process of picking up and using live interaction props, the process of picking up and using live interaction props will be further described below.
[0090] (1) Process of picking up live interaction props: After the first virtual character collides with the live interaction prop located at the refresh location, a pick-up control can be displayed beside the live interaction prop. Then, in response to the touch click operation on the pick-up control, control the first virtual character to pick up the live interaction prop, so that the first virtual character obtains the live interaction prop.
[0091] (2) Process of using live interaction props. In response to the click selection operation on the live interaction prop owned by the first virtual character, the first virtual character holds the live interaction prop. In response to the touch click operation on the prop use control in the game interface, control the first virtual character to use the live interaction prop.
[0092] In an optional implementation manner, a chat window can be set in the game interface, and the chat window can provide game chat channels for game players to conduct game chat interactions. If it is detected that the first virtual character enters the live viewing area, in response to the first virtual character being located in the live viewing area, a live chat channel can be provided in the chat window.
[0093] Specifically, if it is detected that the first virtual character enters the live viewing area, a live chat channel can be added to the chat window for game players to conduct live chat interactions. It should be noted that the chat channels that the chat window can provide can include but are not limited to game chat channels and live chat channels. Among them, the game chat channels can include but are not limited to sub-channels such as game player private chat sub-channels, game team chat sub-channels, and game server chat sub-channels. Under the live chat channel, game players of the terminal device can participate in the chat in the live broadcast room corresponding to the live broadcast screen played on the virtual live broadcast screen.
[0094] If there are multiple chat channels configured in the game interface, in response to the chat channel switching operation, switch the current chat channel of the first virtual character among the chat channels provided by the chat window, so that the first virtual character can flexibly participate in live chat interactions.
[0095] The chat channel switching operation may include: the switching operation from the game chat channel to the live chat channel, the switching operation from the live chat channel to the game chat channel, etc.
[0096] In the above steps, through the switching between chat channels, the live chat interaction of game players is realized, further enriching the live interaction method and enhancing the live interaction experience of game players.
[0097] In an optional implementation manner, if the current chat channel of the first virtual character is the live chat channel, it is possible to respond to the chat input operation in the chat window and display the live chat content corresponding to the first virtual character in the form of bullet comments in the live broadcast screen played on the virtual live screen. The live chat content includes but is not limited to types such as pictures, expressions, and text.
[0098] Optionally, the live chat content corresponding to the first virtual character can be sent to the target live platform, so that the target live platform synchronizes the live chat content corresponding to the first virtual character in the form of bullet comments, enabling the live chat content corresponding to the first virtual character to be displayed in the live broadcast screen played on the virtual live screen, and enabling game players to deeply participate in the live chat interaction, further enhancing the live interaction experience of game players.
[0099] In an optional implementation manner, if the current chat channel of the first virtual character is the live chat channel, it is also possible to respond to the chat input operation in the chat window, generate a character chat display area corresponding to the first virtual character beside the first virtual character, and display the live chat content corresponding to the first virtual character in the character chat display area.
[0100] The character chat display area refers to the chat display area specially generated for virtual characters participating in the live chat in the game scene, which can be used to more intuitively present the live chat content corresponding to the virtual characters participating in the live chat.
[0101] Exemplarily, as Figure 3D shown, a chat content display example diagram is provided. Specifically, in Figure 3D , a bubble 306 is displayed on the head of the first virtual character 305, and the chat content corresponding to the first virtual character 305 can be displayed in the bubble 306. Among them, the area where the bubble 306 is located is the character chat display area corresponding to the first virtual character 305.
[0102] In addition, the game scene can also include a live interaction area, where the live interaction area refers to the area in the game scene for virtual characters to perform various live interaction behaviors. The live interaction area can be a live interaction area pre-configured in the game scene or a live interaction area generated in real time in the game scene according to the live event.
[0103] In an alternative embodiment, in step S220 above, in response to the live interaction behavior of the first virtual character in the game scene, sending the live interaction data corresponding to the live interaction behavior to the target live platform may further include the following steps: If it is detected that a live interaction activity appears in the live video, determine an interaction strategy matching the live interaction activity in the live interaction area; generate second live interaction data according to the game behavior of the first virtual character for the interaction strategy, and send the second live interaction data to the target live platform.
[0104] The live interaction activity may be various live activities initiated by the host in the live broadcast room. Exemplarily, for example, a statistical voting activity including options, a continuous activity of accumulating energy to enliven the atmosphere, etc. The interaction strategy matching the live interaction activity refers to the participation strategy of the first virtual character in the live interaction area for the live interaction activity. For example, whether to generate a live interaction area including multiple interaction option areas or a live interaction area including an energy accumulation area, etc.
[0105] Taking the live interaction activity as a statistical voting activity including options as an example, exemplarily, a live interaction area including multiple interaction option areas may be generated in front of the virtual live screen, and the participation in the live interaction activity may be realized by controlling the standing position of the first virtual character in the interaction option area; exemplarily, a live interaction area including multiple interaction option areas may also be generated in front of the virtual live screen, and the participation in the live interaction activity may be realized by controlling the first virtual character to throw a live interaction prop into any one of the interaction option areas.
[0106] Taking the live interaction activity as a continuous activity of accumulating energy to enliven the atmosphere as an example, exemplarily, a live interaction area including an energy accumulation area may be generated in front of the virtual live screen, and the participation in the live interaction activity may be realized by controlling the first virtual character to continuously jump in the energy accumulation area for energy accumulation; exemplarily, a live interaction area including an energy accumulation area may also be generated in front of the virtual live screen, and the participation in the live interaction activity may be realized by controlling the first virtual character to throw a live interaction prop into the energy accumulation area.
[0107] The live interaction behaviors of the first virtual character in the live interaction area may include: behaviors such as jumping, standing position, throwing live interaction props, etc.
[0108] The second live interaction data refers to the character behavior data of the first virtual character in the live interaction area, including but not limited to: data such as character name, character behavior, etc.
[0109] It should be noted that after the second live interaction data is sent to the target live platform, the target live platform can count the game behaviors performed by the first virtual character for the interaction strategy according to the second live interaction data, so as to update the background statistical data of the live interaction activity, and based on the updated background statistical data of the live interaction activity, the live broadcast screen displayed on the virtual live screen is updated in real time, enabling the first virtual character to participate in the live interaction activity.
[0110] In the above steps, the participation of the first virtual character in the live interaction activity is realized, which can not only increase the fun of the game, but also further enrich the live interaction method, which is conducive to enhancing the immersive experience of the live interaction.
[0111] In addition, in order to enable other platform users who have not participated in the game to synchronously watch the live broadcast screen displayed on the virtual live screen, the target live platform can synchronize the live broadcast screen displayed on the virtual live screen to the third-party live platform based on the target live data and the live interaction data.
[0112] In an optional implementation manner, if the first virtual character is not associated with a user account, the live interaction behavior of the first virtual character is displayed in the live broadcast screen of the virtual live screen based on the character identifier of the first virtual character; if the first virtual character is associated with a user account, the live interaction behavior of the first virtual character is displayed in the live broadcast screen of the virtual live screen based on the user account associated with the first virtual character.
[0113] Exemplarily, if the first virtual character is not associated with a user account, the live interaction data sent to the target live platform may include the character identifier of the first virtual character, so that the target live platform can synchronize the live interaction behavior of the first virtual character to the live broadcast screen of the virtual live screen or the third-party live platform based on the character identifier, realizing the interaction method of live interaction in the tourist mode.
[0114] Exemplarily, if the first virtual character is already associated with a user account, the live interaction data sent to the target live platform may include the user account associated with the first virtual character, so that the target live platform can synchronize the live interaction behavior of the first virtual character to the live broadcast screen of the virtual live screen or the third-party live platform based on the user account, realizing the interaction method of live interaction in the account mode.
[0115] In the above steps, based on the account association situation of the virtual character, the display method of the live interaction behavior of the first virtual character in the live broadcast screen is determined, providing multiple possible live interaction participation methods for game players to meet the live interaction needs of different game players.
[0116] In addition, in order to further enhance the expression of the game player's image, a virtual character ranking list can also be displayed on one side of the virtual live screen, and information such as the avatars and name identifiers of each virtual character in the game scene can be displayed in real time in the virtual character ranking list.
[0117] Figure 4 Fig. 4 shows a live interaction device 400 in a game scene according to an exemplary embodiment of the present disclosure. As Figure 4 shown, the live interaction device 400 in the game scene may specifically include:
[0118] A screen display module 410, configured to obtain target live data from a target live platform and display a live screen on a virtual live screen based on the target live data;
[0119] A live interaction module 420, configured to respond to a live interaction behavior of a first virtual character in a game scene, and send live interaction data corresponding to the live interaction behavior to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data.
[0120] In an alternative embodiment, a live viewing area may further be included in the game scene of the live interaction device 400 in the game scene, and the live viewing area is located in front of the virtual live screen.
[0121] In an alternative embodiment, the live interaction device 400 in the game scene may further include: a character teleportation module, which may be configured to: if the current position of the first virtual character is not within the live viewing area, respond to a live viewing operation corresponding to the first virtual character, and teleport the first virtual character from the current position to within the live viewing area.
[0122] In an alternative embodiment, a refresh location of live interaction props may further be included in the live viewing area, and the live interaction device 400 in the game scene may further include: a prop refresh module, which may be configured to: based on a preset refresh time, refresh live interaction props at the refresh location of the live interaction props.
[0123] In an alternative embodiment, the live interaction device 400 in the game scene may further include: a prop pickup module, which may be configured to: if it is detected that the first virtual character collides with a live interaction prop located at the refresh location, determine a prop identifier corresponding to the live interaction prop collided by the first virtual character; based on the prop identifier corresponding to the live interaction prop collided by the first virtual character, control the first virtual character to pick up the collided live interaction prop.
[0124] In an alternative embodiment, the above game interface may further include a chat window, and the chat window provides a game chat channel. In the live interaction device 400 in the game scene, it may further include: a chat channel providing module, configured to provide a live chat channel in the chat window in response to the first virtual character being located in the live viewing area; a chat channel switching module, configured to switch the current chat channel of the first virtual character among the chat channels provided in the chat window in response to a chat channel switching operation.
[0125] In an alternative embodiment, if the current chat channel of the first virtual character is a live chat channel, in the live interaction device 400 in the game scene, it may further include: a live chat content display module, configured to generate a character chat display area corresponding to the first virtual character beside the first virtual character and display the live chat content corresponding to the first virtual character in the character chat display area in response to a chat input operation in the chat window.
[0126] In an alternative embodiment, the live interaction module 420 may further include: a first live interaction module, which may be configured to: determine a prop identifier corresponding to the live interaction prop used by the first virtual character in response to a use event of the live interaction prop held by the first virtual character in the game scene; generate first live interaction data based on the prop identifier corresponding to the live interaction prop used by the first virtual character, and send the first live interaction data to the target live platform.
[0127] In an alternative embodiment, the triggering manner of the use event of the live interaction prop held by the first virtual character in the game scene may include: a collision determination module, configured to determine whether a collision occurs between the live interaction prop thrown by the first virtual character and an interactive object in response to a prop throwing operation on the live interaction prop held by the first virtual character; an event triggering module, configured to trigger the use event of the live interaction prop held by the first virtual character in the game scene if a collision occurs between the live interaction prop held by the first virtual character and the interactive object.
[0128] In an alternative embodiment, the collision determination module may be configured to: determine a prop throwing trajectory in response to a prop throwing operation on the live interaction prop held by the first virtual character, so that the live interaction prop thrown by the first virtual character moves along the prop throwing trajectory; determine whether a collision occurs between the live interaction prop thrown by the first virtual character and an interactive object.
[0129] In an alternative embodiment, in the live interaction device 400 within the game scene, it may further include: a prop control module, configured to, if the live interaction prop thrown by the first virtual character does not hit the interactive object after running along the prop throwing trajectory, control the live interaction prop thrown by the first virtual character to move towards the interactive object until a collision occurs with the interactive object.
[0130] In an alternative embodiment, the above-mentioned interactive object may include any one or more of the following: a virtual live screen, a second virtual character, and a character chat display area corresponding to the second virtual character, where the second virtual character is other virtual characters in the game scene except the first virtual character, and the character chat display area corresponding to the second virtual character is located beside the second virtual character.
[0131] In an alternative embodiment, the above-mentioned game scene may further include a live interaction area. The live interaction module 420 may further include: a second live interaction module, which may be configured to, if a live interaction activity appears in the live broadcast screen, determine an interaction strategy matching the live interaction activity in the live interaction area; generate second live interaction data according to the game behavior of the first virtual character for the interaction strategy, and send the second live interaction data to the target live broadcast platform.
[0132] The specific details of each module in the live interaction device 400 within the above-mentioned game scene have been described in detail in the embodiments of the method part. For the undisclosed detailed content, reference may be made to the content of the embodiments in the method part, and thus will not be elaborated here.
[0133] The exemplary embodiments of the present disclosure further provide a computer-readable storage medium, on which a program product capable of implementing the above-mentioned live interaction method within the game scene of this specification is stored. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product, which includes program code. When the program product runs on an electronic device, the program code is used to cause the electronic device to execute the steps according to various exemplary embodiments of the present disclosure described in the above-mentioned "exemplary method" part of this specification.
[0134] The program product may be a portable compact disc read-only memory (CD-ROM) and include program code, and may run on an electronic device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, device, or component.
[0135] The program product may employ any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0136] The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0137] The program code contained on the readable medium may be transmitted by any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
[0138] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages. The programming languages include object-oriented programming languages such as Java, C++, etc., and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, executed as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).
[0139] The exemplary embodiments of the present disclosure also provide an electronic device capable of implementing the live interaction method within the above game scenario. The following refers to Figure 5 to describe the electronic device 500 according to such an exemplary embodiment of the present disclosure. Figure 5The displayed electronic device 500 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0140] As Figure 5 shown, the electronic device 500 may be presented in the form of a general-purpose computing device. The components of the electronic device 500 may include, but are not limited to: at least one processing unit 510, at least one storage unit 520, a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510), and a display unit 540.
[0141] The storage unit 520 stores program code, and the program code can be executed by the processing unit 510, so that the processing unit 510 executes the steps according to various exemplary embodiments of the present disclosure described in the "Exemplary Method" section above of this specification.
[0142] Specifically, the program product stored on the computer-readable storage medium can enable the electronic device to perform the following steps:
[0143] Obtain target live data from a target live platform, and based on the target live data, display a live video on a virtual live screen;
[0144] Respond to the live interaction behavior of the first virtual character in the game scene, and send the live interaction data corresponding to the live interaction behavior to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data.
[0145] In an alternative embodiment, the game scene may further include a live viewing area, and the live viewing area is located in front of the virtual live screen.
[0146] In an alternative embodiment, the electronic device may further perform the following steps: If the current position of the first virtual character is not within the live viewing area, respond to the live viewing operation corresponding to the first virtual character, and teleport the first virtual character from the current position to within the live viewing area.
[0147] In an alternative embodiment, the live viewing area may include a refresh location for live interaction props, and the electronic device may further perform the following steps: Based on a preset refresh time, refresh live interaction props at the refresh location of the live interaction props.
[0148] In an alternative embodiment, the electronic device may further perform the following steps: If it is detected that the first virtual character collides with a live interaction prop located at the refresh location, determine the prop identifier corresponding to the live interaction prop collided by the first virtual character; Based on the prop identifier corresponding to the live interaction prop collided by the first virtual character, control the first virtual character to pick up the collided live interaction prop.
[0149] In an alternative embodiment, the above game interface further includes a chat window that provides game chat channels. The electronic device can also perform the following steps: in response to the first virtual character being located in the live viewing area, provide a live chat channel in the chat window; in response to a chat channel switching operation, switch the current chat channel of the first virtual character among the chat channels provided in the chat window.
[0150] In an alternative embodiment, if the current chat channel of the first virtual character is the live chat channel, the electronic device can also perform the following steps: in response to a chat input operation in the chat window, generate a character chat display area corresponding to the first virtual character beside the first virtual character, and display the live chat content corresponding to the first virtual character in the character chat display area.
[0151] In an alternative embodiment, the above step of responding to the live interaction behavior of the first virtual character in the game scene and sending the live interaction data corresponding to the live interaction behavior to the target live platform can be implemented through the following steps: in response to the use event of the live interaction prop held by the first virtual character in the game scene, determine the prop identifier corresponding to the live interaction prop used by the first virtual character; based on the prop identifier corresponding to the live interaction prop used by the first virtual character, generate the first live interaction data and send the first live interaction data to the target live platform.
[0152] In an alternative embodiment, the triggering method of the above use event of the live interaction prop held by the first virtual character in the game scene can be specifically implemented through the following steps: in response to a prop throwing operation on the live interaction prop held by the first virtual character, determine whether the live interaction prop thrown by the first virtual character collides with an interactive object; if the live interaction prop held by the first virtual character collides with the interactive object, trigger the use event of the live interaction prop held by the first virtual character in the game scene.
[0153] In an alternative embodiment, the above step of responding to a prop throwing operation on the live interaction prop held by the first virtual character and determining whether the live interaction prop thrown by the first virtual character collides with an interactive object can be implemented through the following steps: in response to a prop throwing operation on the live interaction prop held by the first virtual character, determine the prop throwing trajectory so that the live interaction prop thrown by the first virtual character moves along the prop throwing trajectory; determine whether the live interaction prop thrown by the first virtual character collides with an interactive object.
[0154] In an alternative embodiment, the electronic device may further perform the following steps: If the live interaction prop thrown by the first virtual character does not hit the interactive object after running along the prop throwing trajectory, control the live interaction prop thrown by the first virtual character to move towards the interactive object until a collision occurs with the interactive object.
[0155] In an alternative embodiment, the above-mentioned interactive object includes any one or more of the following: a virtual live screen, a second virtual character, and a character chat display area corresponding to the second virtual character, where the second virtual character is other virtual characters in the game scene except the first virtual character, and the character chat display area corresponding to the second virtual character is located beside the second virtual character.
[0156] In an alternative embodiment, the game scene further includes a live interaction area. In response to the live interaction behavior of the first virtual character in the game scene, the live interaction data corresponding to the live interaction behavior is sent to the target live platform, which can also be achieved through the following steps: If a live interaction activity appears in the live broadcast screen, determine an interaction strategy in the live interaction area that matches the live interaction activity; generate second live interaction data based on the game behavior of the first virtual character for the interaction strategy, and send the second live interaction data to the target live platform.
[0157] Compared with the related art, in the live interaction process in the above game scene, on the one hand, by responding to the live interaction behavior of the first virtual character in the game scene, the interaction and integration between the game character behavior and the live broadcast are realized, enriching the live interaction method to a certain extent. On the other hand, by setting a virtual live screen in the game scene, the live viewing in the game scene is realized, enhancing the immersive viewing experience of the live broadcast to a certain extent.
[0158] The storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 521 and / or a cache storage unit 522, and may further include a read-only storage unit (ROM) 523.
[0159] The storage unit 520 may further include a program / utility 524 having a set (at least one) of program modules 525. Such program modules 525 include, but are not limited to: an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.
[0160] The bus 530 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any bus structure in a variety of bus structures.
[0161] The electronic device 500 can also communicate with one or more external devices 600 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and can also communicate with one or more devices that enable a user to interact with the electronic device 500, and / or communicate with any device that enables the electronic device 500 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication can be carried out through the input / output (I / O) interface 550. Moreover, the electronic device 500 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 560. As Figure 5 shown, the network adapter 560 communicates with other modules of the electronic device 500 through the bus 530. It should be understood that although Figure 5 not shown in the figure, other hardware and / or software modules can be used in combination with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, etc.
[0162] Through the description of the above embodiments, those skilled in the art can easily understand that the exemplary embodiments described herein can be implemented by software, or can be implemented by the way of software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, and the software product can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the exemplary embodiments of the present disclosure.
[0163] In addition, the above drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, rather than for limiting purposes. It is easy to understand that the processes shown in the above drawings do not indicate or limit the time sequence of these processes. Additionally, it is also easy to understand that these processes can be executed synchronously or asynchronously in, for example, multiple modules.
[0164] It should be noted that although several modules or units of devices for action execution are mentioned in the above detailed description, such a division is not mandatory. In fact, according to the exemplary embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0165] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.
[0166] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A live interaction method within a game scenario, characterized in that, Provide a game interface through a terminal device. At least part of a game scene is included in the game interface. A first virtual character, a virtual live screen, a live viewing area, and a live interaction area are included in the game scene. A refresh location of a live interaction prop is included in the live viewing area. The refresh location is used to refresh the live interaction prop. The live interaction prop is an interaction medium for the first virtual character to perform live interaction in the game scene. The first virtual character is controlled by the terminal device. The method includes: Obtain target live data from a target live platform, and based on the target live data, display a live video on the virtual live screen; In response to a live interaction behavior of the first virtual character in the game scene, send live interaction data corresponding to the live interaction behavior to the target live platform, so that the target live platform synchronizes the live interaction behavior based on the live interaction data to update the live video displayed on the virtual live screen in real time; Among them, the step of sending the live interaction data corresponding to the live interaction behavior to the target live platform in response to the live interaction behavior of the first virtual character in the game scene includes: In response to a use event of a live interaction prop held by the first virtual character in the game scene, determine a prop identifier corresponding to the live interaction prop used by the first virtual character. Based on the prop identifier corresponding to the live interaction prop used by the first virtual character, generate first live interaction data, and send the first live interaction data to the target live platform; If it is detected that a live interaction activity appears in the live video, determine an interaction strategy matching the live interaction activity in the live interaction area; generate second live interaction data according to a game behavior executed by the first virtual character for the interaction strategy, and send the second live interaction data to the target live platform.
2. The method according to claim 1, wherein The live viewing area is located in front of the virtual live screen.
3. The method according to claim 2, wherein The method further includes: If the current position of the first virtual character is not within the live viewing area, in response to a live viewing operation corresponding to the first virtual character, teleport the first virtual character from the current position to within the live viewing area.
4. The method according to claim 2, wherein The method further includes: Based on a preset refresh time, refresh the live interaction prop at the refresh location of the live interaction prop.
5. The method according to claim 4, wherein The method further includes: If it is detected that the first virtual character collides with a live interaction prop located at the refresh location, determine a prop identifier corresponding to the live interaction prop collided by the first virtual character; Based on the prop identifier corresponding to the live interaction prop collided by the first virtual character, control the first virtual character to pick up the collided live interaction prop.
6. The method according to claim 2, characterized in that, The game interface further includes a chat window, and the chat window provides a game chat channel; the method further includes: In response to the first virtual character being located in the live viewing area, provide a live chat channel in the chat window; In response to a chat channel switching operation, switch the current chat channel of the first virtual character among the chat channels provided in the chat window.
7. The method according to claim 6, wherein If the current chat channel of the first virtual character is a live chat channel, the method further includes: In response to a chat input operation in the chat window, generate a character chat display area corresponding to the first virtual character beside the first virtual character, and display the live chat content corresponding to the first virtual character in the character chat display area.
8. The method according to claim 1, characterized in that The triggering manner of the use event of the live interaction prop held by the first virtual character in the game scene includes: In response to a prop throwing operation for the live interaction prop held by the first virtual character, determine whether the live interaction prop thrown by the first virtual character collides with an interactive object; If the live interaction prop held by the first virtual character collides with the interactive object, trigger the use event of the live interaction prop held by the first virtual character in the game scene.
9. The method according to claim 8, wherein The determining whether the live interaction prop thrown by the first virtual character collides with an interactive object in response to the prop throwing operation for the live interaction prop held by the first virtual character includes: In response to the prop throwing operation for the live interaction prop held by the first virtual character, determine a prop throwing trajectory so that the live interaction prop thrown by the first virtual character moves along the prop throwing trajectory; Determine whether the live interaction prop thrown by the first virtual character collides with an interactive object.
10. The method according to claim 9, wherein The method further includes: If the live interaction prop thrown by the first virtual character does not hit the interactive object after running along the prop throwing trajectory, control the live interaction prop thrown by the first virtual character to move towards the interactive object until a collision occurs with the interactive object.
11. The method according to claim 8, wherein The interactive object includes any one or more of the following: A virtual live screen, a second virtual character, and a character chat display area corresponding to the second virtual character, where the second virtual character is another virtual character in the game scene other than the first virtual character, and the character chat display area corresponding to the second virtual character is located beside the second virtual character.
12. A live interactive device within a game scenario, characterized in that, Provide a game interface through a terminal device. The game interface includes at least a part of the game scene. The game scene includes a first virtual character, a virtual live screen, a live viewing area, and a live interaction area. The live viewing area includes a refresh location for the live interaction prop, and the refresh location is used to refresh the live interaction prop. The live interaction prop is an interaction medium for the first virtual character to perform live interaction in the game scene. The first virtual character is controlled by the terminal device. The device includes: A screen display module, configured to obtain target live data from a target live platform and display a live video on the virtual live screen based on the target live data; A live interactive module, which is configured to respond to the live interactive behavior of the first virtual character in the game scene, and send the live interactive data corresponding to the live interactive behavior to the target live platform, so that the target live platform synchronizes the live interactive behavior based on the live interactive data to update the live video displayed on the virtual live screen in real time; Among them, the step of responding to the live interactive behavior of the first virtual character in the game scene and sending the live interactive data corresponding to the live interactive behavior to the target live platform includes: Responding to the use event of the live interactive item held by the first virtual character in the game scene, determining the item identifier corresponding to the live interactive item used by the first virtual character, generating first live interactive data based on the item identifier corresponding to the live interactive item used by the first virtual character, and sending the first live interactive data to the target live platform; If it is detected that a live interactive activity appears in the live video, determining an interaction strategy matching the live interactive activity in the live interactive area; generating second live interactive data according to the game behavior executed by the first virtual character for the interaction strategy, and sending the second live interactive data to the target live platform.
13. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 11.
14. An electronic device, characterized in that, It includes: A processor; And A memory for storing executable instructions of the processor; Among them, the processor is configured to execute the method according to any one of claims 1 to 11 by executing the executable instructions.