Search

CN-122006246-A - Method and device for displaying interface in game, electronic equipment and storage medium

CN122006246ACN 122006246 ACN122006246 ACN 122006246ACN-122006246-A

Abstract

The present disclosure provides an interface display method, apparatus, electronic device, and storage medium in a game. According to the method, through the technical means of detecting the connection triggering event and establishing the connection relation among the virtual roles, the problem that the dialogue information cannot be continuously displayed after the target virtual role moves out of the screen display range is solved, the visibility of the dialogue information can be maintained even if the dialogue object is not in the current display range, and therefore the interactive experience of players in the dialogue process is improved.

Inventors

  • Feng Yingyin
  • XU ZIZHAO

Assignees

  • 广州博冠信息科技有限公司

Dates

Publication Date
20260512
Application Date
20260306

Claims (20)

  1. 1. An interface display method in a game, characterized in that a first graphical user interface is provided through a terminal, at least part of a virtual scene is displayed on the first graphical user interface, and the virtual scene contains controlled virtual characters and other virtual characters, the method comprises: in response to detecting the join trigger event, determining a target virtual character to be joined; in response to detecting a join determination instruction, establishing a first join relationship between the controlled virtual character and the target virtual character; And after the first connection relation is established, when the target virtual character moves out of the display range of the first graphical user interface, displaying dialogue information sent by the target virtual character on the first graphical user interface.
  2. 2. The method according to claim 1, wherein the method further comprises: and in response to receiving the dialogue information sent by the target virtual character, displaying the dialogue information sent by the target virtual character at the associated position of the target virtual character in the first graphical user interface under the condition that the target virtual character is positioned in the display range of the first graphical user interface.
  3. 3. The method according to claim 2, wherein the method further comprises: And under the condition that the first connection relation is not established between the controlled virtual character and the target virtual character, responding to the situation that the target virtual character moves out of the display range of the first graphical user interface, and not displaying dialogue information sent by the target virtual character in the first graphical user interface.
  4. 4. The method according to claim 1, wherein the method further comprises: And after the first connection relation is established, when the target virtual character moves out of the display range of the first graphical user interface, displaying a first target prompt identifier on the first graphical user interface, wherein the first target prompt identifier is used for indicating the azimuth information of the target virtual character relative to the controlled virtual character.
  5. 5. The method according to claim 1, wherein the method further comprises: displaying a join control on the first graphical user interface; And generating the connection determination instruction in response to a triggering operation for the connection control.
  6. 6. The method according to claim 1, wherein the method further comprises: Determining a first range with the position of the controlled virtual character as the center; Detecting whether other virtual roles exist in the first range; And when detecting that other virtual roles exist in the first range, determining that a connection trigger event is detected.
  7. 7. The method according to claim 1, wherein the method further comprises: Detecting whether the controlled virtual character transmits first dialogue information or not; when the controlled virtual character is detected to send the first dialogue information, a second range is determined by taking the position of the controlled virtual character as the center; Detecting whether other virtual roles exist in the second range or not to send second dialogue information in preset time; And when detecting that other virtual roles exist in the second range to send the second dialogue information, determining that a connection trigger event is detected.
  8. 8. The method of claim 7, wherein the determining the target virtual character to be joined comprises: And determining the virtual role which transmits the second dialogue information in the second range as a target virtual role to be joined.
  9. 9. The method of claim 5, wherein the displaying a join control on the first graphical user interface comprises: and displaying a connection control at the associated position of the target virtual character.
  10. 10. The method of claim 5, wherein the generating the join determination instruction in response to a trigger operation for the join control comprises: Responding to the triggering operation for the connection control, and sending a connection request to a terminal corresponding to the target virtual role; and when receiving a consent response returned by the terminal corresponding to the target virtual role, generating the connection determining instruction.
  11. 11. The method of claim 5, wherein the generating the join determination instruction in response to a trigger operation for the join control comprises: generating a coupling determination instruction in response to a trigger operation for the coupling control; And sending a first connection prompt to the terminal corresponding to the target virtual role, wherein the first connection prompt is used for prompting that the connection invitation sent by the controlled virtual role is received.
  12. 12. The method of claim 11, wherein the first join prompt is displayed in a second graphical user interface displayed by the target avatar corresponding terminal, the first join prompt further configured to receive a confirmation operation of the target avatar to trigger a second join prompt containing second associated avatar information to be displayed in the second graphical user interface to facilitate the target avatar to send a join invitation to the second associated avatar, wherein the second associated avatar is another avatar that has established a join relationship with the controlled avatar.
  13. 13. The method according to claim 1, wherein the method further comprises: And in response to detecting the connection determining instruction, sending a first connection prompt containing first connection virtual role information to the terminal corresponding to the target virtual role so that the target virtual role can send connection invitation to the first connection virtual role, wherein the first connection virtual role is the other virtual role which has received the connection invitation sent by the terminal corresponding to the controlled virtual role.
  14. 14. The method according to claim 1, wherein the method further comprises: responding to the detection of a connection determining instruction, and sending a first connection prompt to a terminal corresponding to the target virtual role; And when a confirmation response for the first connection prompt returned by the terminal corresponding to the target virtual role is received, establishing a second connection relation between the controlled virtual role and the target virtual role, and displaying dialogue information sent by the controlled virtual role on a second graphical user interface when the controlled virtual role moves out of the display range of the second graphical user interface displayed by the terminal corresponding to the target virtual role.
  15. 15. The method according to claim 1, wherein the method further comprises: and when the number of the target virtual roles establishing the first association relationship with the controlled virtual roles is a preset number, displaying an association management control on the first graphical user interface, wherein the association management control comprises association number information, and the association number information is used for indicating the number of the target virtual roles currently establishing the first association relationship with the controlled virtual roles, and the preset number is larger than 1.
  16. 16. The method of claim 15, wherein the method further comprises: in response to a triggering operation for the coupling management control, displaying a coupling list on the first graphical user interface, wherein the coupling list comprises object identifications of all target virtual roles establishing the first coupling relation with the controlled virtual roles; and responding to a cancel operation for the target object identification in the coupling list, and releasing the coupling relation between the controlled virtual character and the target virtual character corresponding to the target object identification.
  17. 17. The method of claim 5, wherein the method further comprises: after the first coupling relation is established, responding to a triggering operation for the coupling control, and releasing the first coupling relation between the controlled virtual role and the target virtual role.
  18. 18. An interface display device in a game, wherein a first graphical user interface is provided through a terminal, wherein at least part of a virtual scene is displayed on the first graphical user interface, and wherein the virtual scene includes a controlled virtual character and other virtual characters, and the device comprises: The determining module is used for determining a target virtual role to be linked in response to the detection of the linking trigger event; The establishing module is used for responding to the detection of the connection determining instruction and establishing a first connection relation between the controlled virtual role and the target virtual role; And the display module is used for displaying dialogue information sent by the target virtual character on the first graphical user interface when the target virtual character moves out of the display range of the first graphical user interface after the first connection relation is established.
  19. 19. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the method of any one of claims 1 to 17.
  20. 20. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 17.

Description

Method and device for displaying interface in game, electronic equipment and storage medium Technical Field The present disclosure relates to the field of game technologies, and in particular, to a method and apparatus for displaying an interface in a game, an electronic device, and a storage medium. Background In a game, players interact with other characters by manipulating the characters to promote game fun. In the related art, when a virtual character in a game scene performs a dialogue exchange, a dialogue bubble is displayed in the vicinity of the transmitting dialogue character. Due to the limitation of the screen display, when the virtual character controlled by the player moves, if other characters in the dialogue move out of the screen display range, the bubbles of the dialogue also disappear out of the visual range, so that the player cannot continuously view the dialogue content. Meanwhile, in a large map of a virtual scene, if a player wants to continue to talk to the character, the player needs to search for the position of the character by himself, and the player often needs to search for a destination in the large map. These problems result in cumbersome user operations, requiring frequent movement of the view angle and searching for character positions, affecting the fluent experience of the game. Meanwhile, due to the inconvenience of dialogue interaction, social interaction frequency among players is reduced, so that the game play method is single, and the richness of a social system is not fully exerted. Disclosure of Invention The invention aims to provide an interface display method, an interface display device, an electronic device and a storage medium in a game, so that session information can be continuously displayed after a session object moves out of a screen display range. In a first aspect, the present disclosure provides an in-game interface display method, providing a first graphical user interface through a terminal, wherein at least part of virtual scenes are displayed on the first graphical user interface, the virtual scenes comprise controlled virtual characters and other virtual characters, and the method includes determining target virtual characters to be linked in response to detection of a linking trigger event; and after the first connection relation is established, when the target virtual character moves out of the display range of the first graphical user interface, displaying dialogue information sent by the target virtual character on the first graphical user interface. In a second aspect, the present disclosure provides an interface display apparatus in a game, the apparatus including a determining module configured to determine a target virtual character to be joined in response to detecting a join trigger event, an establishing module configured to establish a first join relationship between the controlled virtual character and the target virtual character in response to detecting a join determination instruction, and a display module configured to display dialogue information sent by the target virtual character on the first graphical user interface when the target virtual character moves outside a display range of the first graphical user interface after the first join relationship is established, wherein at least a part of virtual scenes including the controlled virtual character and other virtual characters are displayed on the first graphical user interface. In a third aspect, the present disclosure provides an electronic device comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to perform steps in the interface display method in a game as described above. In a fourth aspect, the present disclosure provides a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement steps in an interface display method in a game as described above. The invention provides an interface display method, a device, electronic equipment and a storage medium in a game, which solve the problem that dialogue information cannot be continuously displayed after a target virtual character moves out of a screen display range by detecting a connection trigger event and establishing a connection relation among the virtual characters, and realize that the visibility of the dialogue information can be maintained even if a dialogue object is not in the current display range, thereby improving the interactive experience of players in the dialogue process. Drawings In order to more clearly illustrate the embodiments of the present disclosure or the prior art, the drawings that are required in the detailed description or the prior art will be briefly described, it will be apparent that the drawings in the following description are some embodiments of the present disclosure