Method and device for displaying information in game, computer equipment and storage medium
By responding to the swiping action of the chat entry control in online games, adjusting the size of the message box and switching the display mode, the problem of cumbersome operation caused by the fixed position and size of the message box is solved, thus improving the game interaction experience.
Patent Information
- Application Number
- CN202410595169.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2025-11-14
AI Technical Summary
In existing online games, the display position and size of information boxes are fixed, making it cumbersome for players to adjust them, resulting in a poor game interaction experience.
The system provides information boxes and chat entry controls through a graphical user interface. It responds to the sliding operation of the chat entry control, adjusts the size of the information box, and switches the display mode under preset conditions, so as to realize the flexible display of the information box.
It enhances the player's game interaction experience by simplifying operations to enable quick switching of information boxes and changes in display style.
Smart Images

Figure CN120939554A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, specifically to a method, apparatus, computer device, and computer-readable storage medium for displaying information in a game. Background Technology
[0002] In some online games, a chat box is provided on the game interface to facilitate information interaction between players, displaying various messages sent by players or information released by the game system.
[0003] In related technologies, the display style of information boxes in game interfaces is generally fixed, such as a fixed display position or a fixed position on the left side of the game interface. The size of chat information boxes is also generally fixed. If players want to change the size or display position of the information box, they need to open the game settings window and make fine adjustments to the information box through the game settings window, which is cumbersome and results in a poor player experience. Summary of the Invention
[0004] This application provides a method, apparatus, computer device, and computer-readable storage medium for displaying information in games, which can improve the player's game interaction experience.
[0005] This application provides a method for displaying information in a game, including:
[0006] A graphical user interface provides an information box and a chat entry control, wherein the information box contains session information displayed in a first display mode;
[0007] In response to a first swipe operation on the chat entry control, the size of the information box is adjusted;
[0008] In response to the first sliding operation satisfying the first preset condition, the session information in the information box is switched to the second display mode for display.
[0009] Accordingly, this application also provides an information display device for games, including:
[0010] The first providing unit is configured to provide an information box and a chat entry control through a graphical user interface, wherein the information box contains session information displayed in a first display mode;
[0011] The first adjustment unit is used to adjust the size of the information box in response to a first sliding operation on the chat entry control;
[0012] The first switching unit is used to switch the session information in the information box to the second display mode in response to the sliding operation meeting the first preset condition.
[0013] Accordingly, this application also provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes an information display method in any of the games provided in this application.
[0014] Accordingly, embodiments of this application also provide a computer-readable storage medium storing multiple instructions adapted for loading by a processor to execute the information display method in the game as described above.
[0015] This solution provides an information box and a chat entry control through a graphical user interface. The information box contains conversation information displayed in a first display mode. In response to a first swipe operation on the chat entry control, the size of the information box is adjusted. If the first swipe operation meets a first preset condition, the conversation information in the information box is switched to a second display mode. This allows for quick switching between different information preview styles in the game, thereby improving the player's interactive gaming experience. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a scene diagram of an information display system in a game provided in an embodiment of this application.
[0018] Figure 2 This is a flowchart illustrating a method for displaying information in a game, as provided in an embodiment of this application.
[0019] Figure 3 This is a schematic diagram illustrating an application scenario of an information display method in a game, as provided in an embodiment of this application.
[0020] Figure 4 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0021] Figure 5 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0022] Figure 6 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0023] Figure 7This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0024] Figure 8 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0025] Figure 9 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0026] Figure 10 This is a flowchart illustrating another method for displaying information in a game, provided as an embodiment of this application.
[0027] Figure 11 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0028] Figure 12 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0029] Figure 13 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0030] Figure 14 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0031] Figure 15 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0032] Figure 16 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0033] Figure 17 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0034] Figure 18 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0035] Figure 19 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0036] Figure 20 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0037] Figure 21This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0038] Figure 22 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment.
[0039] Figure 23 This is a structural block diagram of an information display device in a game, provided as an embodiment of this application.
[0040] Figure 24 A schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation
[0041] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0042] This application provides a method, apparatus, computer-readable storage medium, and computer device for displaying information in a game. Specifically, the method for displaying information in a game according to this application can be executed by a computer device, which can be a terminal or a server. The terminal can be a smartphone, tablet, laptop, touch screen, game console, personal computer (PC), personal digital assistant (PDA), or other terminal device. The terminal can also include a client, which can be a game application client, a browser client carrying a game program, or an instant messaging client. The server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0043] For example, when the information display method in the game is running on a terminal, the terminal device stores the game application and uses it to present virtual scenes in the game screen. The terminal device is used to interact with the user through a graphical user interface, such as by downloading, installing, and running the game application. The terminal device can provide the graphical user interface to the user in various ways, such as rendering it on the terminal device's display screen or presenting the graphical user interface through holographic projection. For example, the terminal device can include a touch screen and a processor. The touch screen is used to present the graphical user interface and receive operation commands generated by the user interacting with the graphical user interface, which includes game screens. The processor is used to run the game, generate the graphical user interface, respond to operation commands, and control the display of the graphical user interface on the touch screen.
[0044] For example, when the information display method in a game runs on a server, it can be considered cloud gaming. Cloud gaming refers to a gaming method based on cloud computing. In the cloud gaming operating mode, the game application and the game screen presentation are separate. The storage and execution of the information display method in the game are completed on the cloud gaming server. The game screen presentation is completed on the cloud gaming client. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission capabilities close to the user, such as a mobile terminal, television, computer, PDA, personal digital assistant, etc. However, the terminal device for processing game data is the cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send operation commands to the cloud gaming server. The cloud gaming server runs the game according to the operation commands, encodes and compresses the game screen and other data, returns it to the cloud gaming client through the network, and finally, the cloud gaming client decodes and outputs the game screen.
[0045] Please see Figure 1 , Figure 1This is a schematic diagram of a game information display system provided in an embodiment of this application. The system may include at least one terminal, at least one server, at least one database, and a network. The user's terminal can connect to different game servers via the network. The terminal is any device with computing hardware capable of supporting and executing software products corresponding to the game. Additionally, the terminal has one or more multi-touch screens for sensing and obtaining input from touch or swipe operations performed by the user at multiple points on one or more touch displays. Furthermore, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can connect to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless local area network (WLAN), local area network (LAN), cellular network, 2G network, 3G network, 4G network, 5G network, etc. Different terminals can also connect to other terminals or servers using their own Bluetooth networks or hotspot networks. For example, multiple users can connect online through different terminals via appropriate networks and synchronize with each other to support multiplayer games. In addition, the system can include multiple databases coupled to different servers, and can continuously store information related to the game environment in the databases as different users play multiplayer games online.
[0046] This application provides a method for displaying information in a game, which can be executed by a terminal or a server. This application example illustrates the method using a terminal to display information in a game. The terminal includes a touchscreen display and a processor. The touchscreen display is used to present a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. When the user operates the GUI through the touchscreen display, the GUI can control local content on the terminal in response to the received operation commands, or it can control content on a peer server in response to the received operation commands. For example, the operation commands generated by the user interacting with the GUI may include commands to launch a game application. The processor is configured to launch the game application after receiving the user's command to launch the game application. Furthermore, the processor is configured to render and draw the GUI associated with the game on the touchscreen display. The touchscreen display is a multi-touch sensitive screen capable of sensing touch or swipe operations performed simultaneously on multiple points on the screen. When the user performs touch operations on the GUI using their finger, the GUI, upon detecting the touch operation, controls different virtual objects in the game to perform actions corresponding to the touch operation. For example, the game can be any of the following types of games: casual games, action games, role-playing games, strategy games, sports games, puzzle games, etc. The game may include a virtual environment. Furthermore, the virtual environment may include one or more virtual objects, such as virtual characters, controlled by the user (or player). Additionally, the virtual environment may include one or more obstacles, such as railings, ditches, walls, etc., to restrict the movement of virtual objects, for example, limiting the movement of one or more objects to a specific area within the virtual environment. Optionally, the virtual environment may also include one or more elements, such as skills, scores, character health status, energy, etc., to provide assistance to the player, offer virtual services, increase scores related to player performance, etc. Furthermore, the graphical user interface may present one or more indicators to provide guidance information to the player. For example, the game may include virtual objects controlled by the player and one or more other virtual objects (such as enemy characters). In one embodiment, one or more other virtual objects are controlled by other players in the game. For example, one or more other virtual objects may be computer-controlled, such as robots using artificial intelligence (AI) algorithms, enabling a human-computer interaction mode. For example, virtual objects possess various skills or abilities used by the player to achieve objectives. For example, virtual objects possess one or more weapons, items, tools, etc., that can be used to eliminate other objects in the game. Such skills or abilities can be activated by the player using one of several preset touch operations on the terminal's touchscreen display. The processor can be configured to respond to the operation commands generated by the user's touch operations to display the corresponding game screen.
[0047] It should be noted that, Figure 1 The schematic diagram of the information display system in the game shown is merely an example. The image processing system and scene described in this application embodiment are for the purpose of more clearly illustrating the technical solutions of this application embodiment and do not constitute a limitation on the technical solutions provided in this application embodiment. As those skilled in the art will know, with the evolution of information display systems in games and the emergence of new business scenarios, the technical solutions provided in this application embodiment are also applicable to similar technical problems.
[0048] To address the aforementioned problems, this application provides a method, apparatus, computer device, and computer-readable storage medium for displaying information in games, which can improve the player's gaming experience. These will be described in detail below. It should be noted that the order of description of the following embodiments is not intended to limit the preferred order of the embodiments.
[0049] This application provides a method for displaying information in a game. This method can be executed by a terminal or a server. This application uses the example of a method for displaying information in a game being executed by a terminal to illustrate the method.
[0050] Please see Figure 2 , Figure 2 This is a flowchart illustrating a method for displaying information in a game, provided as an embodiment of this application. The specific flow of this method for displaying information in a game can be as follows:
[0051] 101. Provide information boxes and chat entry controls through a graphical user interface.
[0052] In this embodiment of the application, a graphical user interface is provided through a terminal device, and the content displayed by the graphical user interface may include at least the game screen of the target game.
[0053] The graphical user interface can also provide information boxes and chat entry controls. Information boxes can be used to display conversation information, while chat entry controls can be used to trigger the sending of conversation information or to adjust the information box.
[0054] Session information refers to the information received by the current player in the target game. Session information can include various types of information, such as information sent by other players in the target game or notifications pushed by the target game's background system.
[0055] In some embodiments, to facilitate game players in adjusting the message box via the chat entry control, the message box can be displayed within a preset range of the chat entry control. This preset range may include a distance from the chat entry control that is less than a preset distance.
[0056] For example, please see Figure 3 , Figure 3This is a schematic diagram illustrating an application scenario of an information display method in a game, as provided in an embodiment of this application. For example... Figure 3 As shown, the graphical user interface 10 displays a game screen 20, which includes a portion of the game scene of the target game and a virtual object 21 in the game scene, which can be controlled by the current player.
[0057] The graphical user interface 10 also provides a chat entry control 11 and an information box 12. The information box can display conversation messages, such as "How do I play this mode?" The chat entry control 11 can be displayed as a chat icon.
[0058] The distance between the chat entry control 11 and the information box 12 is less than a preset distance, meaning that the information box 12 is located within the preset range of the chat entry control 11.
[0059] In some embodiments, to indicate the number of unread messages to the player, the number of new messages can be displayed on the chat entry control.
[0060] For example, please see Figure 4 , Figure 4 This is a schematic diagram illustrating an application scenario of an information display method in a game, as provided in an embodiment of this application. For example... Figure 4 The graphical user interface 10 shown can display the number of new messages on the chat entry control 11: 40+, indicating that the number of new messages received is more than 40.
[0061] In some embodiments, to facilitate game players sending session information, the method may further include the following steps:
[0062] In response to the first touch operation on the chat entry control, display the chat panel in the graphical user interface;
[0063] Respond to information input operations on the chat panel and determine the conversation information to be sent;
[0064] In response to a session information sending operation, the corresponding session information will be displayed in the information box.
[0065] The first touch operation can include clicking. Touching the chat entry control triggers the display of the chat panel. The chat panel can be used to display conversation information from various channels and to send conversation messages.
[0066] For example, please see Figure 5 , Figure 5 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 5In the graphical user interface 10 shown above, when a click operation on the chat entry control 11 is detected, the chat panel can be displayed.
[0067] That is, to obtain Figure 5 The graphical user interface 10 shown below displays a chat panel 15. The chat panel 15 may include: a conversation template display area (which may display conversation templates such as "Danger ahead!" or "Please turn on your microphone!"), a message input area (for players to input messages), chat channel information (which may include nearby, world, local, and general chat channels), teammate information (which may include team information), a history information display area, a close control, and a send control. Players can close the chat panel 15 by clicking the close control or by clicking a blank area in the graphical user interface 10. Players can send selected or entered conversation messages by clicking the send control.
[0068] The information input operation is used to enter conversation information in the chat panel, which can include: selecting a template conversation from the conversation template display area, or entering a conversation message through the information input area.
[0069] The conversation information to be sent refers to the conversation information determined based on the information input operation. For example, if a player selects a conversation information from the conversation template, then the conversation information selected by the player can be used as the conversation information to be sent.
[0070] The send operation can be used to trigger the sending of session information, and the send operation can include clicking on the send control, etc.
[0071] In some embodiments, when a player selects a template session from the session template display area of the chat panel and sends it, or enters a session message through the message input area and sends it, the sent message can be displayed in the message box, and the chat panel can be automatically closed.
[0072] For example, please see Figure 6 , Figure 6 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 6 In the graphical user interface 10 shown above, when a player selects the template session "Danger Ahead!" from the session template display area of the chat panel 15, "Danger Ahead!" can be used as a session message to be sent. Furthermore, after detecting a player's click on the send control, the "Danger Ahead!" session message can be sent. At the same time, the sent session message can be displayed in the information box 12.
[0073] That is, to obtain Figure 6The graphical user interface 10 shown below contains a message box 12 displaying the session message "Danger ahead!" sent by the send operation.
[0074] In some embodiments, to reduce player actions, the method may further include the following steps:
[0075] In response to the message sending action, hide the chat panel.
[0076] After sending session information according to the sending operation, the chat panel can be hidden, that is, the chat panel can be turned off in the graphical user interface.
[0077] For example, please see Figure 7 , Figure 7 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 7 In the graphical user interface 10 shown above, when a player enters the message "Please go to the destination assembly point!" through the chat panel 15, "Please go to the destination assembly point!" can be set as a message to be sent. Furthermore, upon detecting a player's click on the send control, the message "Please go to the destination assembly point!" can be sent. Simultaneously, the sent message can be displayed in the information box 12, and the chat panel 15 can be hidden.
[0078] That is, to obtain Figure 7 The graphical user interface 10 shown on the lower side includes a message box 12 displaying the message "Please go to the destination meeting point!" sent by the sending operation, and a hidden chat panel 15.
[0079] The information boxes provided by the graphical user interface may contain session information displayed in the first display mode.
[0080] In this embodiment, the information box may include multiple display modes, and different display modes may correspond to different display methods and / or the number of display lines. Among them, the display methods may include static display mode, multiple scrolling modes, etc.
[0081] The first display mode can include multiple modes. For example, the first display mode can include displaying a first preset number of rows of session information in a static display mode in an information box. For example, the first preset number of rows can be one row, etc., and different settings can be made for different situations.
[0082] In some embodiments, to prevent the information box from obscuring the game screen, the background of the information box can be set to transparent, or the border of the information box can be removed.
[0083] For example, please continue reading Figure 7 ,like Figure 7As shown in the graphical user interface 10 below, the current information box 12 can display session information according to a first display mode. For example, the first display mode may include: displaying a single line of session information in a static display mode, wherein the session information may be "Please go to the destination meeting!".
[0084] 102. Respond to the first swipe operation on the chat entry control and adjust the size of the information box.
[0085] The first swipe operation on the chat entry control can include swiping upwards on the chat entry control. This first swipe operation can trigger an adjustment of the message box size, such as increasing the size of the message box.
[0086] In some embodiments, the step "in response to a first swipe operation on the chat entry control, adjust the size of the information box" may include the following operations:
[0087] The response begins with the first swipe gesture originating from the chat entry control, adjusting the size of the message box.
[0088] The location of the chat entry control refers to its display position on the graphical user interface. The display of the chat entry control on the graphical user interface will not change.
[0089] For example, the first swipe operation could include an upward swipe starting from the location of the chat entry control. Adjusting the size of the message box could include increasing the size of the message box.
[0090] When adjusting the size of the information box, one could keep the bottom border of the information box stationary and move the top border upwards to increase the overall size of the information box; or one could keep the top border of the information box stationary and move the bottom border downwards to increase the overall size of the information box.
[0091] For example, please see Figure 8 , Figure 8 This is a schematic diagram illustrating an application scenario of another information display method in a game provided by an embodiment of this application. For example... Figure 8 As shown in the graphical user interface 10 on the upper side, when an upward swipe operation starting from the location of the current player's chat entry control 11 is detected, the upper border 121 moves upward, while keeping the lower border 123 of the information box 12 stationary. This increases the height of the information box 12, that is, increases its size. Figure 7 The graphical user interface 10 shown on the lower side has an enlarged information box 12.
[0092] In some embodiments, to indicate to the current player that the information box can be edited, the method may further include the following steps:
[0093] Respond to the first triggered operation on the chat entry control and control the message box to enter edit mode.
[0094] The first trigger operation can be a touch operation, such as a press operation.
[0095] The edit state indicator shows that the information box is in a resizable state. When the information box is in edit state, the player can adjust its size.
[0096] For example, please continue reading Figure 3 When a long press operation is detected on the chat entry control 11 by the current player, the information box can be controlled to enter the editing state.
[0097] In some embodiments, to facilitate player operation, the step "in response to the first swipe operation on the chat entry control, adjust the size of the information box" may include the following operations:
[0098] When the message box is in edit mode, respond to the first swipe operation on the chat entry control and adjust the size of the message box.
[0099] For example, when the message box is triggered into edit mode by long-pressing the chat entry control, the current player can adjust the size of the message box by performing a first swipe on the chat entry control.
[0100] In some embodiments, to notify the player that the information box is in edit mode, the method may further include the following steps when controlling the information box to enter edit mode:
[0101] Display status indicators in the graphical user interface.
[0102] The status indicator can be used to prompt the current player that the information box has entered the editing state, and can also be used to indicate the size changes of the information box during the editing process.
[0103] The status indicator can include a status identifier and a status area. The position of the status identifier in the status area is used to indicate the size of the information box.
[0104] For example, please see Figure 9 , Figure 9 This is a schematic diagram illustrating an application scenario of an information display method in a game, as provided in an embodiment of this application. For example... Figure 9 As shown above, the graphical user interface 10 displays a chat entry control 11 and an information box 12. When a long press operation on the chat entry control 11 by the current player is detected, the information box is controlled to enter the editing state, and at the same time, a status indicator can be displayed on the graphical user interface 10.
[0105] like Figure 9The graphical user interface 10 shown below displays a status indicator 13. This status indicator 13 includes a status area 131 and a status flag 132. The status area 131 can be a scale axis with multiple scales. The values of each scale on the axis can change from small to large, and then from large to small, from bottom to top. The status flag 132 can move along the scale axis and remain at a specific scale position.
[0106] The scale corresponding to status indicator 132 can be used to indicate the size of the information box, for example, such as... Figure 9 On the lower side, the smallest scale value corresponding to status indicator 132 indicates that the current size of the information box 12 is the minimum display size. The larger the scale value corresponding to status indicator 132, the larger the size of the information box 12, thus making it easier for players to understand the size changes of the information box 12.
[0107] In some embodiments, the method may further include the following steps:
[0108] In response to the first swipe action on the chat entry control, adjust the position of the status indicator in the status area.
[0109] Specifically, when the first swipe operation on the chat entry control is detected, the size of the information box can be adjusted according to the first swipe operation. At the same time, the position of the status indicator in the status area can be adjusted according to the first swipe operation.
[0110] Adjusting the position of the status indicator in the status area can include moving the status indicator to a position corresponding to a different scale.
[0111] The position of the status indicator in the status area changes in accordance with the size of the information box. For example, when the size of the information box is increased according to the first sliding operation, the position of the status indicator in the status area moves from a smaller scale to a larger scale.
[0112] For example, please see Figure 10 , Figure 10 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 10 In the graphical user interface 10 shown above, when the current player's upward swipe operation on the chat entry control 11 is detected, the size of the information box 12 is increased, and at the same time, the position of the status indicator 132 in the status area 131 is adjusted, which may include moving the status indicator 132 upward to a larger scale position.
[0113] like Figure 10The graphical user interface 10 shown below features an enlarged information box 12, and correspondingly, the status indicator 132 is moved to a larger scale position within the status area 131. This allows players to clearly understand the size change of the information box 12 through the change in the scale corresponding to the status indicator 132.
[0114] In some embodiments, to notify the player that the information box is in edit mode, the method may further include the following steps when controlling the information box to enter edit mode:
[0115] Highlight the message box to prompt the player that the message box has entered edit mode.
[0116] Highlighting information boxes can be done in various ways, such as by highlighting the information box, changing the color of the information box, or displaying the border marker of the information box.
[0117] In some embodiments, for different game players, the initial display mode when displaying information boxes in the graphical user interface of a game player can be set according to the game player's tag.
[0118] Among them, the tags for game players can include social activity levels, which can be used to set the initial display mode of the information box in the game player's graphical user interface.
[0119] In some embodiments, for gamers with high social activity, a chat entry control and a message box can be displayed when the player initially enters the game interface. This message box can display conversation information in a second display mode, such as displaying multiple lines of conversation information.
[0120] In some embodiments, for gamers with low social activity, a chat entry control and a message box can be displayed when the gamer first enters the game interface. The message box can display conversation information in a first display mode, such as a single-line conversation information display.
[0121] 103. In response to the first sliding operation satisfying the first preset condition, the conversation information in the information box is switched to the second display mode for display.
[0122] The first preset condition can be used to trigger the switching of the display mode of the session information in the information box from the first display mode to the second display mode under the first swipe operation.
[0123] The second display mode can include multiple modes. For example, it can include displaying a second preset number of rows of conversation information in a first scrolling display method within an information box. For instance, the first scrolling display method could be vertical scrolling, and the second preset number of rows could be 5, etc., with different settings available for different situations. The second display mode is different from the first display mode. The second preset number of rows can also be different from the first preset number of rows. For example, the second preset number of rows can be greater than the first preset number of rows.
[0124] In some embodiments, the second preset number of rows may be related to the size of the information box in the second display mode.
[0125] The first preset condition may include a variety of conditions. For example, the first preset condition may include: in the first display mode, based on the first sliding operation, adjusting the size of the information box to be greater than the first preset size and less than the second preset size (the first preset size is less than the second preset size), or adjusting the height of the information box to be greater than the first preset height and less than the second preset height (the first preset height is less than the second preset height), etc.
[0126] For example, the first preset condition can be: in the first display mode, based on the first sliding operation, the size of the information box is adjusted to be greater than the first preset size and less than the second preset size. Then, when it is detected that the size of the information box adjusted according to the first sliding operation exceeds the first preset size but does not exceed the second preset size, the display mode of the information box can be switched from the first display mode to the second display mode, that is, the conversation information in the information box is displayed through the second display mode.
[0127] In some embodiments, determining whether the first sliding operation satisfies the first preset condition may include: in the first display mode, determining whether the first preset condition is satisfied based on the change in the size of the information box caused by the first sliding operation. For example, if the first sliding operation causes the changed size of the information box to be greater than the first preset size and less than the second preset size, then the first sliding operation can be determined to satisfy the first preset condition.
[0128] Alternatively, in the first display mode, if the size change of the information box reaches a first preset change amount based on the first sliding operation, then the first sliding operation can be determined to satisfy the first preset condition.
[0129] In some embodiments, the first sliding operation may satisfy a first preset condition, or it may be: in the first display mode, the size of the information box after the change is greater than a first preset size and less than a second preset size based on the first sliding operation, and the first sliding operation is still detected; or in the first display mode, the dragging distance of the first sliding operation reaches a first preset distance threshold, etc.
[0130] In some embodiments, to improve the interactive experience of game players with information boxes in different display modes, the display positions of at least some information boxes in different display modes on the graphical user interface may be different. Therefore, the method may further include the following steps:
[0131] In response to the first sliding operation meeting the first preset condition, the display position of the information box within the graphical user interface is adjusted.
[0132] The display position of the information box in the first display mode may differ from that in the second display mode. Furthermore, when the first swipe operation is detected to meet the first preset condition, the display position of the information box on the graphical user interface can be adjusted.
[0133] In some embodiments, the display position of the information box in the graphical user interface can be preset to a first display position in a first display mode, and to a second display position in a second display mode. The first display position and the second display position are different.
[0134] When the information box is displayed in the first display mode, if the first sliding operation on the first information box does not meet the first preset condition, the size of the information box is adjusted according to the first sliding operation; if the first sliding operation on the first information box meets the first preset condition, the display position of the information box in the graphical user interface can be adjusted.
[0135] For example, the first preset condition may include: under the first swipe operation, the size of the information box is larger than a first preset size and smaller than a second preset size. Please refer to [link / reference]. Figure 11 , Figure 11 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 11 In the graphical user interface 10 shown above, the information box 12 is initially displayed in the first display style. During the process of the current player adjusting the size of the information box 12 by sliding the chat entry control 11 upwards, if the size of the information box 12 does not exceed the first preset size, the size of the information box 12 continues to increase.
[0136] When the size of the information box 12 is adjusted by sliding upwards, exceeding a first preset size but not exceeding a second preset size, the display position of the information box 12 on the graphical user interface 10 can be adjusted. For example... Figure 11 The graphical user interface 10 is shown below. The display position of the information box 12 has changed within the graphical user interface 10. Simultaneously, the changed information box 12 displays session information in a second display mode.
[0137] Specifically, the position of status indicator 132 within status area 131 has been moved to a larger scale position in the lower half. This allows players to clearly understand the size changes of the information box 12 through the changes in the scale corresponding to status indicator 132.
[0138] In some embodiments, the display position of the information box in the graphical user interface in the first display mode and the second display mode can be different in the lower half of the graphical user interface screen area.
[0139] In some embodiments, to facilitate switching between different display modes, the method may further include the following steps:
[0140] When the session information in the information box is displayed in the second display mode, the size of the information box is adjusted in response to the first sliding operation;
[0141] When the first swipe operation meets the third preset condition, the session information in the information box is switched from the second display mode to the first display mode for display.
[0142] When the conversation information in the information box is displayed in the second display mode, if the first swipe operation has not yet ended, the size of the information box can be adjusted according to the first swipe operation.
[0143] For example, the first swipe operation could be an upward swipe starting from the location of the chat entry control.
[0144] The third preset condition can be used in the second display mode to trigger the switching of the display mode of the session information in the information box from the second display mode to the first display mode based on the first sliding operation.
[0145] The third preset condition can include a variety of conditions. For example, the third preset condition can include: in the second display mode, adjusting the size of the information box to be smaller than the first preset size or adjusting the height of the information box to be smaller than the first preset height based on the first sliding operation.
[0146] For example, the third preset condition can be: in the second display mode, based on the first sliding operation, the size of the information box is adjusted to be smaller than the first preset size. When it is detected that the size of the information box is adjusted to be smaller than the first preset size based on the first sliding operation, the display mode of the information box can be switched to the first display mode, that is, the conversation information in the information box is displayed through the first display mode.
[0147] In some embodiments, determining whether the first sliding operation satisfies the third preset condition may include: in the second display mode, determining whether the third preset condition is satisfied based on the change in the size of the information box caused by the first sliding operation. For example, if the first sliding operation makes the changed size of the information box smaller than the first preset size, then the first sliding operation can be determined to satisfy the third preset condition.
[0148] Alternatively, in the second display mode, if the size change of the information box reaches the second preset change amount based on the first sliding operation, then the first sliding operation can be determined to satisfy the third preset condition.
[0149] In some embodiments, the first sliding operation satisfying the third preset condition may also be: in the second display mode, the size of the information box after the change is less than the first preset size based on the first sliding operation, and the first sliding operation is still detected; or in the second display mode, the sliding distance of the first sliding operation reaches the second preset distance threshold, etc. (wherein, the second preset distance threshold may be greater than the first preset distance threshold).
[0150] For example, a third preset condition could include: during the first swipe operation, the size of the information box is smaller than a first preset size. See also... Figure 12 , Figure 12 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 12 In the graphical user interface 10 shown above, after the information box 12 is switched to the second display mode according to the first sliding operation (that is, the upward sliding operation for the chat entry control 11), the player continues to perform the first sliding operation. If the size of the information box 12 is not less than the first preset size during the first sliding operation, the size of the information box 12 continues to be adjusted according to the first sliding operation.
[0151] When the size of the information box 12 is adjusted to be smaller than the first preset size according to the first sliding operation, the display mode of the information box 12 can be switched, that is, the second display mode is switched to the first display mode. This results in... Figure 12 The graphical user interface 10 is shown below. The information box 12 displays session information in a first display mode. The position of the status indicator 132 in the status area 131 has been moved to the upper, smaller scale position. This allows the player to clearly understand the size change of the information box 12 through the change in the scale corresponding to the status indicator 132.
[0152] In some embodiments, to allow players to easily switch between different display modes of the information box, the method may further include the following steps:
[0153] When the conversation information in the message box is displayed in the second display mode, the size of the message box is adjusted in response to a second swipe operation on the chat entry control;
[0154] When the second swipe operation meets the fourth preset condition, the session information in the information box is switched from the second display mode to the first display mode for display.
[0155] The second sliding operation is not continuous with the first sliding operation, and the second sliding operation is in the opposite direction to the first sliding operation.
[0156] For example, if the first swipe operation is an upward swipe operation, then the second swipe operation is a downward swipe operation.
[0157] The second swipe operation can also be used to trigger an adjustment of the information box size.
[0158] The fourth preset condition can include a variety of conditions. For example, the fourth preset condition can include: in the second display mode, based on the second sliding operation, adjusting the size of the information box to be smaller than the first preset size, or adjusting the height of the information box to be smaller than the first preset height, etc.
[0159] For example, the fourth preset condition can be: in the second display mode, based on the second sliding operation, the size of the information box is adjusted to be smaller than the first preset size. When it is detected that the size of the information box is adjusted to be smaller than the first preset size based on the second sliding operation, the display mode of the information box can be switched to the first display mode, that is, the conversation information in the information box is displayed through the first display mode.
[0160] In some embodiments, determining whether the second sliding operation satisfies the fourth preset condition may include: in the second display mode, determining whether the fourth preset condition is satisfied based on the change in the size of the information box caused by the second sliding operation. For example, if the second sliding operation makes the changed size of the information box smaller than the first preset size, then the second sliding operation can be determined to satisfy the fourth preset condition.
[0161] Alternatively, in the second display mode, if the size change of the information box reaches the second preset change amount based on the second sliding operation, then the second sliding operation can be determined to satisfy the fourth preset condition.
[0162] In some embodiments, the second sliding operation may satisfy the fourth preset condition as follows: in the second display mode, the size of the information box after the change is less than the first preset size based on the second sliding operation, and the second sliding operation is still detected; or in the second display mode, the sliding distance of the second sliding operation reaches the second preset distance threshold, etc. (wherein, the second preset distance threshold may be greater than the first preset distance threshold).
[0163] For example, the fourth preset condition could include: during the second swipe operation, the size of the information box is smaller than the first preset size. See also... Figure 13 , Figure 13 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 13 In the graphical user interface 10 shown above, after the information box 12 is switched to the second display mode according to the first sliding operation (that is, the upward sliding operation for the chat entry control 11), the player performs the second sliding operation. If the size of the information box 12 is not less than the first preset size during the second sliding operation, the size of the information box 12 continues to be adjusted according to the second sliding operation.
[0164] When the size of the information box 12 is adjusted to be smaller than the first preset size according to the second sliding operation, the display mode of the information box 12 can be switched, that is, the second display mode is switched to the first display mode. This results in... Figure 13 The graphical user interface 10 is shown below. The information box 12 displays session information in a first display mode. The position of the status indicator 132 in the status area 131 has been moved to a smaller scale position in the lower half. This allows the player to clearly understand the size change of the information box 12 through the change in the scale corresponding to the status indicator 132.
[0165] In some embodiments, to facilitate players switching between more display modes of the information box, the method may further include the following steps:
[0166] In response to the first sliding operation satisfying the second preset condition, the display position of the information box in the graphical user interface is adjusted, and the session information in the information box is switched from the second display mode to the third display mode.
[0167] The third display mode can include multiple modes. For example, the third display mode can include: displaying a third preset number of session information in the information box using a second scrolling method.
[0168] The third display mode differs from both the first and second display modes. The second scrolling method can also differ from the first scrolling method, and the third preset number of rows can be the same as or different from the second preset number of rows. For example, the third display mode could be: displaying the third preset number of rows of conversation information in a horizontal scrolling manner within an information box.
[0169] In some embodiments, the third display mode can be a bullet screen display mode, which means displaying the conversation information in the information box through a bullet screen carousel.
[0170] In some embodiments, the third preset number of rows may be related to the size of the information box in the third display mode.
[0171] The second preset condition can be used in the second display mode to trigger a switch from the display mode of the conversation information in the information box to the third display mode based on the first swipe operation. In other words, the second preset condition can be used as the trigger condition for the third display mode.
[0172] The second preset condition can include a variety of conditions. For example, the second preset condition can include: in the second display mode, based on the first sliding operation, adjusting the size of the information box to be greater than the second preset size, the height of the information box to be greater than the second preset height, etc.
[0173] For example, the second preset condition can be: in the second display mode, if the size of the information box is larger than the second preset size based on the first sliding operation, then when it is detected that the size of the information box is larger than the second preset size based on the first sliding operation, the display mode of the information box can be switched to the third display mode, that is, the conversation information in the information box is displayed through the third display mode.
[0174] In some embodiments, determining whether the first sliding operation satisfies the second preset condition may include: in the second display mode, determining whether the second preset condition is satisfied based on the change in the size of the information box caused by the first sliding operation. For example, in the second display mode, if the size of the information box after the change is greater than the second preset size due to the first sliding operation, it can be determined that the first sliding operation satisfies the second preset condition.
[0175] Alternatively, in the second display mode, if the size change of the information box reaches a third preset change amount based on the first sliding operation, then the first sliding operation can be determined to satisfy the second preset condition.
[0176] In some embodiments, the first sliding operation satisfying the second preset condition can also be: the size of the information box after the change is greater than the second preset size based on the first sliding operation, and the first sliding operation continues to be detected; or the dragging distance of the first sliding operation reaches a third preset distance threshold, etc. Wherein, the third preset distance is greater than the first preset distance.
[0177] The display position of the information box in the second display mode is different from that in the third display mode. Therefore, in the third display mode, when the first sliding operation is detected to meet the second preset condition, the display position of the information box on the graphical user interface can be adjusted.
[0178] In some embodiments, the information box can be preset to a third display position in the graphical user interface under a third display mode. This third display position differs from the second display position.
[0179] For example, the third display location could be the upper half of the screen area of the graphical user interface.
[0180] When the information box is displayed in the second display mode, if the first sliding operation on the first information box does not meet the second preset condition, the size of the information box is adjusted according to the first sliding operation; if the first sliding operation on the first information box meets the second preset condition, the display position of the information box in the graphical user interface can be adjusted.
[0181] In some embodiments, in order to meet the switching needs of different game players for the display mode of the information box, a prompt message may be displayed after the first swipe operation is detected to meet the first preset condition and before the session information in the information box is switched to the second display mode for display.
[0182] The prompt message can be used to indicate that if the size of the information box is adjusted according to the current first sliding operation, the display mode will be switched to the third display mode.
[0183] For example, please see Figure 14 , Figure 14 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 14 In the graphical user interface 10 shown, the size of the information box 12 is increased during the player's first swipe operation on the chat entry control.
[0184] When the size of the information box is adjusted to exceed the second preset size according to the first sliding operation, a prompt message 16 can be displayed on the graphical user interface 10. The prompt message 16 can be "Switch to the third display mode soon", which can be used to prompt the current player that if the first sliding operation is continued, the third display mode of the information box 12 can be switched.
[0185] Among them, the position of status indicator 132 in status area 131 is moved to the position of the middle maximum scale, indicating that the size of information box 12 has reached the maximum display size.
[0186] For example, the second preset condition could include: during the first swipe operation, the size of the information box is larger than a second preset size. See also... Figure 15 , Figure 15 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 15 In the graphical user interface 10 shown above, the information box 12 is displayed in a second display mode. If the size of the information box 12 is larger than a second preset size during the current player's adjustment of the information box 12's size via a first swipe operation, then adjusting the display position of the information box 12 on the graphical user interface 10 can be triggered.
[0187] like Figure 15The graphical user interface 10 shown below. The display position of the information box 12 has been switched from the lower half of the screen area of the graphical user interface 10 to the upper half of the screen area. Simultaneously, the information box 12 in the upper half of the screen area of the graphical user interface 10 displays session information in a third display mode.
[0188] In some embodiments, to facilitate switching between different display modes, the method may further include the following steps:
[0189] When the conversation information in the information box is displayed in the third display mode, the system responds to the first sliding operation to meet the fifth preset condition, adjusts the display position of the information box in the graphical user interface, and switches the conversation information in the information box from the third display mode to the second display mode.
[0190] When the conversation information in the information box is displayed in the third display mode, if the first sliding operation has not yet ended, the size of the information box can be adjusted according to the first sliding operation. When the first sliding operation meets the fifth preset condition, the position of the information box in the graphical user interface can be adjusted, and the conversation information in the information box can be switched from the third display mode to the second display mode.
[0191] For example, the first swipe operation could be an upward swipe starting from the location of the chat entry control.
[0192] The fifth preset condition can be used to trigger the switching of the display mode of the session information in the information box from the third display mode to the second display mode under the first sliding operation.
[0193] The fifth preset condition can include a variety of conditions. For example, the fifth preset condition can include: in the third display mode, based on the first sliding operation, adjusting the size of the information box to be greater than the first preset size and less than the second preset size (the first preset size is less than the second preset size), or adjusting the height of the information box to be greater than the first preset height and less than the second preset height (the first preset height is less than the second preset height), etc.
[0194] For example, the fifth preset condition can be: In the third display mode, based on the first sliding operation, the size of the information box is adjusted to be greater than the first preset size and less than the second preset size. Then, when it is detected that the size of the information box adjusted according to the first sliding operation exceeds the first preset size but does not exceed the second preset size, the display mode of the information box can be switched from the first display mode to the second display mode, that is, the conversation information in the information box is displayed through the second display mode.
[0195] In some embodiments, determining whether the first sliding operation satisfies the fifth preset condition may include: in the third display mode, determining whether the fifth preset condition is satisfied based on the change in the size of the information box caused by the first sliding operation. For example, if the changed size of the information box is greater than the first preset size and less than the second preset size due to the first sliding operation, then it can be determined that the first sliding operation satisfies the fifth preset condition.
[0196] Alternatively, in the third display mode, if the size change of the information box reaches the first preset change amount based on the first sliding operation, then the first sliding operation can be determined to satisfy the fifth preset condition.
[0197] In some embodiments, the first sliding operation may satisfy the fifth preset condition as follows: in the third display mode, the size of the information box after the change is greater than the first preset size and less than the second preset size based on the first sliding operation, and the first sliding operation is still detected; or in the third display mode, the dragging distance of the first sliding operation reaches the first preset distance threshold, etc.
[0198] In some embodiments, when the display frame is in the third display mode and the second display mode, the display position on the graphical user interface is different. When the first sliding operation satisfies the fifth preset condition, the display mode of the display frame can be switched from the third display mode to the second display mode, and the display position of the display frame on the graphical user interface can be adjusted.
[0199] For example, the fifth preset condition may include: in the third display mode, based on the first sliding operation, adjusting the size of the information box to be larger than the first preset size and smaller than the second preset size.
[0200] Please see Figure 16 , Figure 16 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 16 In the graphical user interface 10 shown above, the information box 12 is displayed in the third display style. During the process of the current player adjusting the size of the information box 12 by sliding the chat entry control 11 upwards, if the size of the information box 12 does not conform to the size between the first preset size and the second preset size, the size of the information box 12 will continue to be adjusted.
[0201] When the size of the information box 12 is adjusted to match the size between the first preset size and the second preset size according to the upward sliding operation, the display mode of the information box 12 can be switched from the third display mode to the second display mode, and the display position of the information box 12 on the graphical user interface 10 can be adjusted.
[0202] like Figure 16The graphical user interface 10 shown below. The display mode of the information box 12 is switched to a second display mode, and the display position of the information box 12 in the graphical user interface 10 changes (moving from the upper half of the screen area to the lower half of the screen area). Simultaneously, the changed information box 12 displays session information in the second display mode.
[0203] Specifically, the position of status indicator 132 within status area 131 is moved to the upper, smaller scale position. This allows players to clearly understand the size changes of the information box 12 through the change in the scale corresponding to status indicator 132.
[0204] In some embodiments, to allow players to easily switch between different display modes of the information box, the method may further include the following steps:
[0205] When the conversation information in the message box is displayed in the third display mode, in response to the second swipe operation on the chat entry control, the display position of the message box in the graphical user interface is adjusted, and the conversation information in the message box is switched from the third display mode to the second display mode.
[0206] The second swipe action can be a downward swipe action on the chat entry control.
[0207] Specifically, when the conversation information in the information box is displayed in the third mode, the size of the information box can be reduced when a downward swipe operation is detected on the chat entry control. When the third swipe operation meets the sixth preset condition, the display position of the information box in the graphical user interface can be adjusted, and the conversation information in the information box can be switched from the third display mode to the second display mode.
[0208] The sixth preset condition can be used to trigger the switching of the display mode of the session information in the information box from the third display mode to the second display mode under the second sliding operation.
[0209] The sixth preset condition can include a variety of conditions. For example, the sixth preset condition can include: in the third display mode, based on the second sliding operation, adjusting the size of the information box to be greater than the first preset size and less than the second preset size (the first preset size is less than the second preset size), or adjusting the height of the information box to be greater than the first preset height and less than the second preset height (the first preset height is less than the second preset height), etc.
[0210] For example, the sixth preset condition can be: In the third display mode, based on the second sliding operation, the size of the information box is adjusted to be greater than the first preset size and less than the second preset size. Then, when it is detected that the size of the information box adjusted according to the second sliding operation exceeds the first preset size but does not exceed the second preset size, the display mode of the information box can be switched from the first display mode to the second display mode, that is, the conversation information in the information box is displayed through the second display mode.
[0211] In some embodiments, determining whether the second sliding operation satisfies the sixth preset condition may include: in the third display mode, determining whether the sixth preset condition is satisfied based on the change in the size of the information box caused by the second sliding operation. For example, if the second sliding operation makes the changed size of the information box satisfy a size greater than the first preset size and a size less than the second preset size, then the second sliding operation can be determined to satisfy the sixth preset condition.
[0212] Alternatively, in the third display mode, if the size change of the information box reaches the first preset change amount based on the second sliding operation, then the second sliding operation can be determined to satisfy the sixth preset condition.
[0213] In some embodiments, the second sliding operation may satisfy the sixth preset condition as follows: in the third display mode, the second sliding operation causes the changed size of the information box to be greater than the first preset size and less than the second preset size, and the second sliding operation is detected again; or in the third display mode, the dragging distance of the second sliding operation reaches the first preset distance threshold, etc.
[0214] In some embodiments, when the display frame is in the third display mode and the second display mode, the display position on the graphical user interface is different. When the second sliding operation satisfies the sixth preset condition, the display mode of the display frame can be switched from the third display mode to the second display mode, and the display position of the display frame on the graphical user interface can be adjusted.
[0215] For example, the sixth preset condition may include: in the third display mode, based on the second sliding operation, adjusting the size of the information box to be larger than the first preset size and smaller than the second preset size.
[0216] Please see Figure 17 , Figure 17 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 17 In the graphical user interface 10 shown above, the information box 12 is displayed in the third display style. During the process of the current player adjusting the size of the information box 12 by sliding the chat entry control 11 downwards, if the size of the information box 12 does not conform to the size between the first preset size and the second preset size, the size of the information box 12 will continue to be adjusted.
[0217] When the size of the information box 12 is adjusted to match the size between the first preset size and the second preset size according to the downward sliding operation, the display mode of the information box 12 can be switched from the third display mode to the second display mode, and the display position of the information box 12 on the graphical user interface 10 can be adjusted.
[0218] like Figure 17 The graphical user interface 10 shown below. The display mode of the information box 12 is switched to a second display mode, and the display position of the information box 12 in the graphical user interface 10 changes (moving from the upper half of the screen area to the lower half of the screen area). Simultaneously, the changed information box 12 displays session information in the second display mode.
[0219] Specifically, the position of status indicator 132 within status area 131 is moved to a smaller scale position in the lower half. This allows players to clearly understand the size change of the information box 12 through the change in the scale corresponding to status indicator 132.
[0220] In some embodiments, to facilitate game players in viewing other session information in the information box of the first display mode, the method may further include the following steps:
[0221] In the first display mode, in response to a swipe operation on the session information within the information box, the session information in the currently displayed information box in the graphical user interface is switched.
[0222] Other session information refers to session information that is not displayed on the graphical user interface in the first display mode.
[0223] Among them, the sliding operation for the conversation information in the information box can include: sliding the conversation information in the information box.
[0224] Switching the session information in the currently displayed information box within the graphical user interface can include: switching the display of information in the information box by sliding it according to the direction of the sliding operation.
[0225] For example, please see Figure 18 , Figure 18 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 18 In the graphical user interface 10 shown above, the information box 12 displays session information in a first display mode (which can be a static display of one line of information). The information box 12 displays one session message: "[Team] Player: OK, let's start." When an upward swipe action is detected in the information box 12, the information in the information box 12 can be swiped upwards, thus obtaining... Figure 18The graphical user interface 10 shown below displays the information in the information box 12, which scrolls up to refresh to "[Team] Player: A little confused".
[0226] In some embodiments, to facilitate interaction between game players and the conversation information in the information box, the method may further include the following steps:
[0227] In the third display mode, in response to a trigger operation on the information box, the scrolling display of the session information in the information box is paused;
[0228] In response to the end of the triggering operation on the message box, resume the scrolling display of the session information in the message box.
[0229] The triggering operation can be a touch operation, which can include at least: click operation, press operation, swipe operation, etc.
[0230] Specifically, when the conversation information in the information box is displayed in the third display mode, if a trigger operation is detected on the information box, the conversation information in the information box can be paused and displayed in the third display mode; when the conversation information in the information box is paused and the trigger operation on the information box is detected to have ended, the conversation information in the information box can be resumed and displayed in the third display mode.
[0231] For example, please see Figure 19 , Figure 19 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 19 In the graphical user interface 10 shown, multiple conversation messages are displayed in a horizontal scrolling manner in the information box 12. When a long press operation of the current player on the information box 12 is detected, the horizontal scrolling display of multiple conversation messages in the information box 12 can be paused.
[0232] Furthermore, when the current player's long press operation on the information box 12 ends, the pause can be ended, that is, the multiple conversation messages displayed in the information box 12 in a horizontal scrolling manner will be restored.
[0233] In the third display mode, pausing the scrolling display of the session information in the information box in response to a trigger operation on the information box may include: after saving the third display mode, when displaying the session information in the information box in the third display mode, pausing the scrolling display of the session information in the information box in response to a trigger operation on the information box.
[0234] In some embodiments, to facilitate player operation, the method may further include the following steps:
[0235] In the second display mode, in response to the first click operation on the information box, the scrolling display of the session information in the information box is paused;
[0236] In response to a second click on the information box, resume scrolling the session information in the information box.
[0237] The first click operation can include single-click, double-click, etc.; the second click operation can include single-click, double-click, etc.
[0238] Specifically, when the conversation information in the information box is displayed in the second display mode, a double-click operation on the information box can be detected, which can trigger the conversation information in the information box to pause and be displayed in the third display mode; when the conversation information in the information box is paused and displayed in the second display mode, a double-click operation on the information box is detected again, which can restore the conversation information in the information box to be displayed in the second display mode.
[0239] In some embodiments, to facilitate interaction with the conversation information in the information box, the method may further include the following steps:
[0240] In the second or third display mode, in response to a trigger operation targeting the session information in the information box, the information interaction control is displayed;
[0241] In response to a trigger action on the information interaction control, the target information is processed according to preset parameters.
[0242] Among them, the information interaction control can be used to interact with target session information.
[0243] Among them, the triggering operation for the target session information in the information box may include touch operation for the target session information.
[0244] The pre-processing of the target information may include: interacting with the target information according to the interaction method corresponding to the information interaction control.
[0245] In some embodiments, the information interaction controls may include multiple controls, and different information interaction controls may be used to interact with the target session information in different ways. For example, multiple interactions may include: liking, replying, etc.
[0246] Among them, the triggering operation for the information interaction control can include: touch operation for the information interaction control.
[0247] For example, please see Figure 20 , Figure 20 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 20In the graphical user interface 10 shown above, the information box 12 is displayed in the third display mode. When a long press operation is detected on the target information "[World] Player: This operation is a bit difficult" in the pop-up information box 12 by the current player, at least one interactive control can be triggered to be displayed near the display area of the target information, that is, to obtain Figure 20 The graphical user interface 10 shown below displays multiple interactive controls, including reply controls and like controls. The reply controls can be used to reply to the target information, and the like controls can be used to like the target information.
[0248] This allows players to quickly interact with the conversation information displayed in the information box using interactive controls.
[0249] In the second or third display mode, in response to a trigger operation on the target session information in the information box, displaying the information interaction control may include: after saving the second or third display mode, when displaying the session information in the information box in the second or third display mode, displaying the information interaction control in response to a trigger operation on the target session information in the information box.
[0250] In some embodiments, to facilitate players in saving the adjusted display mode, the method may further include the following operations:
[0251] Respond to the display mode save event, control the message box to exit the editing state, and maintain the display mode of the session information in the message box.
[0252] The display mode save event indicates that the currently adjusted display mode is saved, the information box is exited from the editing state, and the information box is displayed in the currently saved display mode.
[0253] In some embodiments, the display mode save event may include the end of a first swipe operation / second swipe operation on the chat entry control.
[0254] For example, please see Figure 21 , Figure 21 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 21 In the graphical user interface 10 shown above, after the display mode of the information box 12 is adjusted to the second display mode according to the first swipe operation, when the first swipe operation is detected to end, that is, when the player's finger leaves the terminal screen, the exit from the editing mode can be triggered and the second display mode can be saved.
[0255] like Figure 21 The graphical user interface 10 shown below has a second display mode saved as the display mode of the information box 12, and the session information in the information box 12 is displayed in the second display mode.
[0256] For example, please see Figure 22 , Figure 22 This is a schematic diagram illustrating an application scenario of another information display method in a game provided in this application embodiment. Figure 22 In the graphical user interface 10 shown above, after the display mode of the information box 12 is adjusted to the third display mode according to the first swipe operation, when the first swipe operation is detected to end, that is, when the player's finger leaves the terminal screen, the exit from the editing mode can be triggered and the third display mode can be saved.
[0257] like Figure 21 The graphical user interface 10 shown below has a third display mode saved as the display mode of the information box 12, and the session information in the information box 12 is displayed in the third display mode.
[0258] This application discloses a method for displaying information in a game. The method includes: providing an information box and a chat entry control through a graphical user interface, wherein the information box contains conversation information displayed in a first display mode; adjusting the size of the information box in response to a first sliding operation on the chat entry control; and switching the conversation information in the information box to a second display mode in response to the first sliding operation satisfying a first preset condition. This allows for quick switching between different information preview styles in the game, thereby improving the player's gaming experience.
[0259] To facilitate better implementation of the information display method in games provided in this application, this application also provides an information display device in games based on the aforementioned information display method. The meanings of the terms used are the same as in the aforementioned information display method in games, and specific implementation details can be found in the descriptions within the method embodiments.
[0260] Please see Figure 23 , Figure 23 A structural block diagram of an information display device in a game provided in this application embodiment, the device comprising:
[0261] The first providing unit 301 is used to provide an information box and a chat entry control through a graphical user interface, wherein the information box contains session information displayed in a first display mode;
[0262] The first adjustment unit 302 is used to adjust the size of the information box in response to a first sliding operation on the chat entry control;
[0263] The first switching unit 303 is used to switch the session information in the information box to the second display mode in response to the sliding operation meeting the first preset condition.
[0264] In some embodiments, the device may further include:
[0265] The first display unit is configured to display a chat panel in the graphical user interface in response to a first touch operation on the chat entry control.
[0266] The first determining unit is used to respond to the information input operation on the chat panel and determine the conversation information to be sent;
[0267] The second display unit is used to respond to the session information sending operation and display the session information corresponding to the sending operation in the information box.
[0268] In some embodiments, the device may further include:
[0269] The hidden unit is used to hide the chat panel in response to a session information sending operation.
[0270] In some embodiments, the first adjustment unit 302 may include:
[0271] The first adjustment subunit is used to adjust the size of the information box in response to a first sliding operation starting from the location of the chat entry control.
[0272] In some embodiments, the device may further include:
[0273] The second adjustment unit is used to adjust the size of the information box in response to the first sliding operation when the session information in the information box is displayed in the second display mode.
[0274] The second switching unit is used to switch the session information in the information box from the second display mode to the first display mode in response to the first sliding operation meeting the third preset condition.
[0275] In some embodiments, the device may further include:
[0276] The third adjustment unit is used to adjust the size of the information box in response to a second sliding operation on the chat entry control when the conversation information in the information box is displayed in the second display mode.
[0277] The third switching unit is used to switch the session information in the information box from the second display mode to the first display mode in response to the second sliding operation meeting the fourth preset condition.
[0278] The second sliding operation is not continuous with the first sliding operation, and the second sliding operation is in the opposite direction to the first sliding operation.
[0279] In some embodiments, the device may further include:
[0280] The fourth adjustment unit is used to respond to the first sliding operation satisfying the second preset condition, adjust the display position of the information box in the graphical user interface, and switch the session information in the information box from the second display mode to the third display mode.
[0281] In some embodiments, the device may further include:
[0282] The fifth adjustment unit is used to adjust the display position of the information box in the graphical user interface and switch the session information in the information box from the third display mode to the second display mode when the first sliding operation meets the fifth preset condition, in response to the session information in the information box being displayed in the third display mode.
[0283] In some embodiments, the device may further include:
[0284] The sixth adjustment unit is used to adjust the display position of the information box in the graphical user interface in response to the second sliding operation of the chat entry control when the conversation information in the information box is displayed in the third display mode, and to switch the conversation information in the information box from the third display mode to the second display mode.
[0285] In some embodiments, the device may further include:
[0286] The fourth switching unit is used, in the first display mode, to switch the session information currently displayed in the information box in the graphical user interface in response to a sliding operation on the session information in the information box.
[0287] In some embodiments, the device may further include:
[0288] A pause unit is used to pause the scrolling display of session information in the information box in the third display mode in response to a trigger operation on the information box;
[0289] The recovery unit is used to restore the scrolling display of session information in the information box in response to the end of the triggering operation on the information box.
[0290] In some embodiments, the device may further include:
[0291] The third display unit is used to display information interaction controls in response to a trigger operation on the target session information in the information box, in the second display mode or the third display mode.
[0292] The processing unit is configured to perform preset processing on the target information in response to a trigger operation on the information interaction control.
[0293] In some embodiments, the device may further include:
[0294] The first control unit is configured to respond to a first trigger operation on the chat entry control and control the information box to enter the editing state.
[0295] In some embodiments, the first adjustment unit 302 may include:
[0296] The second adjustment subunit is used to adjust the size of the information box in response to a first sliding operation on the chat entry control when the information box is in the edit state.
[0297] In some embodiments, the device may further include:
[0298] The fourth display unit is used to display a status indicator in the graphical user interface. The status indicator includes a status identifier and a status area. The position of the status identifier in the status area is used to indicate the size of the information box.
[0299] In some embodiments, the device may further include:
[0300] The method further includes:
[0301] The seventh adjustment unit is used to adjust the position of the status indicator in the status area in response to the first sliding operation of the chat entry control.
[0302] In some embodiments, the device may further include:
[0303] The fifth display unit is used to highlight the information box to prompt the player that the information box has entered the editing state.
[0304] In some embodiments, the device may further include:
[0305] The second control unit is used to respond to the display mode save event, control the information box to exit the editing state, and maintain the display mode of the session information in the information box.
[0306] This application discloses an information display device for a game. A first providing unit 301 provides an information box and a chat entry control via a graphical user interface. The information box contains conversation information displayed in a first display mode. A first adjusting unit 302 adjusts the size of the information box in response to a first sliding operation on the chat entry control. A first switching unit 303 switches the conversation information in the information box to a second display mode in response to the sliding operation meeting a first preset condition. This improves the player's gaming experience.
[0307] Accordingly, embodiments of this application also provide a computer device, which can be a terminal. For example... Figure 24 As shown, Figure 24 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. The computer device 600 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored in the memory 602 and executable on the processor. The processor 601 and the memory 602 are electrically connected. Those skilled in the art will understand that the computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0308] The processor 601 is the control center of the computer device 600. It connects various parts of the computer device 600 through various interfaces and lines. By running or loading software programs and / or modules stored in the memory 602, and calling data stored in the memory 602, it performs various functions of the computer device 600 and processes data, thereby monitoring the computer device 600 as a whole.
[0309] In this embodiment, the processor 601 in the computer device 600 loads the instructions corresponding to the processes of one or more applications into the memory 602 according to the following steps, and the processor 601 runs the applications stored in the memory 602 to achieve various functions:
[0310] A graphical user interface provides information boxes and chat entry controls, wherein the information boxes contain conversation information displayed in a first display mode;
[0311] Respond to the first swipe action on the chat entry control and adjust the size of the message box;
[0312] When the first swipe operation meets the first preset condition, the conversation information in the information box is switched to the second display mode for display.
[0313] In some embodiments, the method further includes:
[0314] In response to the first touch operation on the chat entry control, display the chat panel in the graphical user interface;
[0315] Respond to information input operations on the chat panel and determine the conversation information to be sent;
[0316] In response to a session information sending operation, the corresponding session information will be displayed in the information box.
[0317] In some embodiments, the method further includes:
[0318] In response to the message sending action, hide the chat panel.
[0319] In some embodiments, the information box is displayed within a preset area of the chat entry control.
[0320] In some embodiments, adjusting the size of the message box in response to a first swipe action on the chat entry control includes:
[0321] The response begins with the first swipe gesture originating from the chat entry control, adjusting the size of the message box.
[0322] In some embodiments, the method further includes:
[0323] When the session information in the information box is displayed in the second display mode, the size of the information box is adjusted in response to the first sliding operation;
[0324] When the first swipe operation meets the third preset condition, the session information in the information box is switched from the second display mode to the first display mode for display.
[0325] In some embodiments, the method further includes:
[0326] When the conversation information in the message box is displayed in the second display mode, the size of the message box is adjusted in response to a second swipe operation on the chat entry control;
[0327] When the second swipe operation meets the fourth preset condition, the conversation information in the information box is switched from the second display mode to the first display mode for display.
[0328] The second sliding operation is not continuous with the first sliding operation, and the second sliding operation is in the opposite direction to the first sliding operation.
[0329] In some embodiments, the method further includes:
[0330] In response to the first sliding operation satisfying the second preset condition, the display position of the information box in the graphical user interface is adjusted, and the session information in the information box is switched from the second display mode to the third display mode.
[0331] In some embodiments, the method further includes:
[0332] When the conversation information in the information box is displayed in the third display mode, the system responds to the first sliding operation to meet the fifth preset condition, adjusts the display position of the information box in the graphical user interface, and switches the conversation information in the information box from the third display mode to the second display mode.
[0333] In some embodiments, the method further includes:
[0334] When the conversation information in the message box is displayed in the third display mode, in response to the second swipe operation on the chat entry control, the display position of the message box in the graphical user interface is adjusted, and the conversation information in the message box is switched from the third display mode to the second display mode.
[0335] In some embodiments, the first display mode is to display a first preset number of session information in the information box; the second display mode is to display a second preset number of session information in the information box; and the third display mode is to display a third preset number of session information in the information box; wherein the first preset number of lines is less than the second preset number of lines.
[0336] In some embodiments, the first display mode is a static display mode, the second display mode is a first scrolling display mode, and the third display mode is a second scrolling display mode; wherein the scrolling directions corresponding to the first scrolling display mode and the second scrolling display mode are different.
[0337] In some embodiments, the method further includes:
[0338] In the first display mode, in response to a swipe operation on the session information within the information box, the session information in the currently displayed information box in the graphical user interface is switched.
[0339] In some embodiments, the method further includes:
[0340] In the third display mode, in response to a trigger operation on the information box, the scrolling display of the session information in the information box is paused;
[0341] In response to the end of the triggering operation on the message box, resume the scrolling display of the session information in the message box.
[0342] In some embodiments, the method further includes:
[0343] In the second or third display mode, in response to a trigger operation targeting the session information in the information box, the information interaction control is displayed;
[0344] In response to a trigger action on the information interaction control, the target information is processed according to preset parameters.
[0345] In some embodiments, the method further includes:
[0346] Respond to the first triggered operation on the chat entry control and control the message box to enter edit mode;
[0347] In response to the first swipe action on the chat entry control, adjust the size of the message box, including:
[0348] When the message box is in edit mode, respond to the first swipe operation on the chat entry control and adjust the size of the message box.
[0349] In some embodiments, when the control information box enters the edit state, the method further includes:
[0350] A status indicator is displayed in the graphical user interface. The status indicator includes a status label and a status area. The position of the status label in the status area is used to indicate the size of the information box.
[0351] The method also includes:
[0352] In response to the first swipe action on the chat entry control, adjust the position of the status indicator in the status area.
[0353] In some embodiments, when the control information box enters the edit state, the method further includes:
[0354] Highlight the message box to prompt the player that the message box has entered edit mode.
[0355] In some embodiments, the method further includes:
[0356] Respond to the display mode save event, control the message box to exit the editing state, and maintain the display mode of the session information in the message box.
[0357] This solution provides an information box and a chat entry control through a graphical user interface. The information box contains conversation information displayed in a first display mode. In response to a first swipe operation on the chat entry control, the size of the information box is adjusted. If the first swipe operation meets a first preset condition, the conversation information in the information box is switched to a second display mode. This allows for quick switching between different information preview styles in the game, thereby improving the player's interactive gaming experience.
[0358] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0359] Optional, such as Figure 24 As shown, the computer device 600 also includes: a touch screen display 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch screen display 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will understand that... Figure 24 The computer device structure shown does not constitute a limitation on the computer device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0360] The touch display screen 603 can be used to display a graphical user interface (GUI) and receive operation commands generated by the user interacting with the GUI. The touch display screen 603 may include a display panel and a touch panel. The display panel can be used to display information input by the user or information provided to the user, as well as various graphical user interfaces of the computer device. These graphical user interfaces can be composed of graphics, text, icons, video, and any combination thereof. Optionally, the display panel can be configured using a liquid crystal display (LCD), organic light-emitting diode (OLED), or other similar technologies. The touch panel can be used to collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel), generate corresponding operation commands, and execute the corresponding program according to the operation commands. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends it to the processor 601. It can also receive and execute commands from the processor 601. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor 601 to determine the type of touch event. Subsequently, the processor 601 provides corresponding visual output on the display panel based on the type of touch event. In this embodiment, the touch panel and the display panel can be integrated into the touch display screen 603 to achieve input and output functions. However, in some embodiments, the touch panel and the touch display screen 603 can be implemented as two independent components to achieve input and output functions. That is, the touch display screen 603 can also be used as part of the input unit 606 to achieve input functions.
[0361] The radio frequency circuit 604 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other computer devices, and to transmit and receive signals with network devices or other computer devices.
[0362] Audio circuitry 605 can be used to provide an audio interface between a user and a computer device via a speaker and a microphone. Audio circuitry 605 can convert received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. Conversely, the microphone converts collected sound signals into electrical signals, which are then received by audio circuitry 605, converted back into audio data, and then processed by processor 601 before being transmitted via radio frequency circuitry 604 to, for example, another computer device, or output to memory 602 for further processing. Audio circuitry 605 may also include an earphone jack to facilitate communication between peripheral headphones and computer devices.
[0363] The input unit 606 can be used to receive input numbers, characters, or user characteristic information (such as fingerprints, iris, facial information, etc.), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
[0364] Power supply 607 is used to supply power to various components of computer device 600. Optionally, power supply 607 can be logically connected to processor 601 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. Power supply 607 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0365] although Figure 24 As not shown in the diagram, computer device 600 may also include a camera, sensor, wireless fidelity module, Bluetooth module, etc., which will not be described in detail here.
[0366] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0367] As can be seen from the above, the computer device provided in this embodiment can provide an information box and a chat entry control through a graphical user interface. The information box contains conversation information displayed in a first display mode; in response to a first sliding operation on the chat entry control, the size of the information box is adjusted; in response to the first sliding operation satisfying a first preset condition, the conversation information in the information box is switched to a second display mode for display.
[0368] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0369] Therefore, embodiments of this application provide a computer-readable storage medium storing a plurality of computer programs that can be loaded by a processor to execute steps in any of the information display methods in a game provided by embodiments of this application. For example, the computer program can execute the following steps:
[0370] A graphical user interface provides information boxes and chat entry controls, wherein the information boxes contain conversation information displayed in a first display mode;
[0371] Respond to the first swipe action on the chat entry control and adjust the size of the message box;
[0372] When the first swipe operation meets the first preset condition, the conversation information in the information box is switched to the second display mode for display.
[0373] In some embodiments, the method further includes:
[0374] In response to the first touch operation on the chat entry control, display the chat panel in the graphical user interface;
[0375] Respond to information input operations on the chat panel and determine the conversation information to be sent;
[0376] In response to a session information sending operation, the corresponding session information will be displayed in the information box.
[0377] In some embodiments, the method further includes:
[0378] In response to the message sending action, hide the chat panel.
[0379] In some embodiments, the information box is displayed within a preset area of the chat entry control.
[0380] In some embodiments, adjusting the size of the message box in response to a first swipe action on the chat entry control includes:
[0381] The response begins with the first swipe gesture originating from the chat entry control, adjusting the size of the message box.
[0382] In some embodiments, the method further includes:
[0383] When the session information in the information box is displayed in the second display mode, the size of the information box is adjusted in response to the first sliding operation;
[0384] When the first swipe operation meets the third preset condition, the session information in the information box is switched from the second display mode to the first display mode for display.
[0385] In some embodiments, the method further includes:
[0386] When the conversation information in the message box is displayed in the second display mode, the size of the message box is adjusted in response to a second swipe operation on the chat entry control;
[0387] When the second swipe operation meets the fourth preset condition, the conversation information in the information box is switched from the second display mode to the first display mode for display.
[0388] The second sliding operation is not continuous with the first sliding operation, and the second sliding operation is in the opposite direction to the first sliding operation.
[0389] In some embodiments, the method further includes:
[0390] In response to the first sliding operation satisfying the second preset condition, the display position of the information box in the graphical user interface is adjusted, and the session information in the information box is switched from the second display mode to the third display mode.
[0391] In some embodiments, the method further includes:
[0392] When the conversation information in the information box is displayed in the third display mode, the system responds to the first sliding operation to meet the fifth preset condition, adjusts the display position of the information box in the graphical user interface, and switches the conversation information in the information box from the third display mode to the second display mode.
[0393] In some embodiments, the method further includes:
[0394] When the conversation information in the message box is displayed in the third display mode, in response to the second swipe operation on the chat entry control, the display position of the message box in the graphical user interface is adjusted, and the conversation information in the message box is switched from the third display mode to the second display mode.
[0395] In some embodiments, the first display mode is to display a first preset number of session information in the information box; the second display mode is to display a second preset number of session information in the information box; and the third display mode is to display a third preset number of session information in the information box; wherein the first preset number of lines is less than the second preset number of lines.
[0396] In some embodiments, the first display mode is a static display mode, the second display mode is a first scrolling display mode, and the third display mode is a second scrolling display mode; wherein the scrolling directions corresponding to the first scrolling display mode and the second scrolling display mode are different.
[0397] In some embodiments, the method further includes:
[0398] In the first display mode, in response to a swipe operation on the session information within the information box, the session information in the currently displayed information box in the graphical user interface is switched.
[0399] In some embodiments, the method further includes:
[0400] In the third display mode, in response to a trigger operation on the information box, the scrolling display of the session information in the information box is paused;
[0401] In response to the end of the triggering operation on the message box, resume the scrolling display of the session information in the message box.
[0402] In some embodiments, the method further includes:
[0403] In the second or third display mode, in response to a trigger operation targeting the session information in the information box, the information interaction control is displayed;
[0404] In response to a trigger action on the information interaction control, the target information is processed according to preset parameters.
[0405] In some embodiments, the method further includes:
[0406] Respond to the first triggered operation on the chat entry control and control the message box to enter edit mode;
[0407] In response to the first swipe action on the chat entry control, adjust the size of the message box, including:
[0408] When the message box is in edit mode, respond to the first swipe operation on the chat entry control and adjust the size of the message box.
[0409] In some embodiments, when the control information box enters the edit state, the method further includes:
[0410] A status indicator is displayed in the graphical user interface. The status indicator includes a status label and a status area. The position of the status label in the status area is used to indicate the size of the information box.
[0411] The method also includes:
[0412] In response to the first swipe action on the chat entry control, adjust the position of the status indicator in the status area.
[0413] In some embodiments, when the control information box enters the edit state, the method further includes:
[0414] Highlight the message box to prompt the player that the message box has entered edit mode.
[0415] In some embodiments, the method further includes:
[0416] Respond to the display mode save event, control the message box to exit the editing state, and maintain the display mode of the session information in the message box.
[0417] This solution provides an information box and a chat entry control through a graphical user interface. The information box contains conversation information displayed in a first display mode. In response to a first swipe operation on the chat entry control, the size of the information box is adjusted. If the first swipe operation meets a first preset condition, the conversation information in the information box is switched to a second display mode. This allows for quick switching between different information preview styles in the game, thereby improving the player's interactive gaming experience.
[0418] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0419] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0420] Since the computer program stored in the computer-readable storage medium can execute the steps in any of the information display methods in the game provided in the embodiments of this application, the beneficial effects that the information display methods in the game provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0421] The foregoing has provided a detailed description of a method, apparatus, computer-readable storage medium, and computer device for displaying information in a game, as provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for displaying information in a game, characterized in that, The method includes: A graphical user interface provides an information box and a chat entry control, wherein the information box contains session information displayed in a first display mode; In response to a first swipe operation on the chat entry control, the size of the information box is adjusted; In response to the first sliding operation satisfying the first preset condition, the session information in the information box is switched to the second display mode for display.
2. The method according to claim 1, characterized in that, The method further includes: In response to a first touch operation on the chat entry control, a chat panel is displayed in the graphical user interface; In response to an input operation on the chat panel, determine the conversation information to be sent; In response to a session information sending operation, the session information corresponding to the sending operation is displayed in the information box.
3. The method according to claim 2, characterized in that, The method further includes: In response to the session message sending operation, the chat panel is hidden.
4. The method according to claim 1, characterized in that, The information box is displayed within the preset range of the chat entry control.
5. The method according to claim 1, characterized in that, The response to the first swipe operation of the chat entry control, adjusting the size of the information box, includes: The system responds to the first swipe operation originating from the location of the chat entry control by adjusting the size of the information box.
6. The method according to claim 1, characterized in that, The method further includes: When the session information in the information box is displayed in the second display mode, the size of the information box is adjusted in response to the first sliding operation; In response to the first sliding operation satisfying the third preset condition, the session information in the information box is switched from the second display mode to the first display mode for display.
7. The method according to claim 1, characterized in that, The method further includes: When the conversation information in the information box is displayed in the second display mode, the size of the information box is adjusted in response to the second sliding operation on the chat entry control; When the second sliding operation meets the fourth preset condition, the session information in the information box is switched from the second display mode to the first display mode for display. The second sliding operation is not continuous with the first sliding operation, and the second sliding operation is in the opposite direction to the first sliding operation.
8. The method according to claim 1, characterized in that, The method further includes: In response to the first sliding operation satisfying the second preset condition, the display position of the information box in the graphical user interface is adjusted, and the session information in the information box is switched from the second display mode to the third display mode.
9. The method according to claim 8, characterized in that, The method further includes: When the session information in the information box is displayed in the third display mode, in response to the first sliding operation satisfying the fifth preset condition, the display position of the information box in the graphical user interface is adjusted, and the session information in the information box is switched from the third display mode to the second display mode.
10. The method according to claim 8, characterized in that, The method further includes: When the conversation information in the information box is displayed in the third display mode, in response to the second sliding operation on the chat entry control, the display position of the information box in the graphical user interface is adjusted, and the conversation information in the information box is switched from the third display mode to the second display mode.
11. The method according to claim 8, characterized in that, The first display mode is to display a first preset number of session information in the information box; the second display mode is to display a second preset number of session information in the information box; the third display mode is to display a third preset number of session information in the information box; wherein, the first preset number of lines is less than the second preset number of lines.
12. The method according to claim 8, characterized in that, The first display mode is a static display mode, the second display mode is a first scrolling display mode, and the third display mode is a second scrolling display mode; wherein the scrolling directions corresponding to the first scrolling display mode and the second scrolling display mode are different.
13. The method according to claim 12, characterized in that, The method further includes: In the first display mode, in response to a swipe operation on the session information within the information box, the session information currently displayed in the information box within the graphical user interface is switched.
14. The method according to claim 12, characterized in that, The method further includes: In the third display mode, in response to a trigger operation on the information box, the scrolling display of the session information in the information box is paused; In response to the end of the triggering operation on the information box, the scrolling display of the session information in the information box is restored.
15. The method according to claim 8, characterized in that, The method further includes: In the second display mode or the third display mode, in response to a trigger operation on the target session information in the information box, an information interaction control is displayed; In response to a trigger operation on the information interaction control, the target information is subjected to preset processing.
16. The method according to claim 1, characterized in that, The method further includes: In response to the first trigger operation on the chat entry control, the information box is controlled to enter the edit state; The response to the first swipe operation of the chat entry control, adjusting the size of the information box, includes: When the information box is in the edit state, the size of the information box is adjusted in response to a first swipe operation on the chat entry control.
17. The method according to claim 16, characterized in that, When controlling the information box to enter edit mode, the method further includes: The graphical user interface displays a status indicator, which includes a status identifier and a status area. The position of the status identifier in the status area is used to indicate the size of the information box. The method further includes: In response to a first swipe operation on the chat entry control, the position of the status indicator in the status area is adjusted.
18. The method according to claim 16, characterized in that, When controlling the information box to enter edit mode, the method further includes: The information box is highlighted to prompt the player that the information box has entered edit mode.
19. The method according to claim 16, characterized in that, The method further includes: In response to the display mode save event, the information box is controlled to exit the editing state, while maintaining the display mode of the session information in the information box.
20. An information display device for a game, characterized in that, The device includes: The first providing unit is configured to provide an information box and a chat entry control through a graphical user interface, wherein the information box contains session information displayed in a first display mode; The first adjustment unit is used to adjust the size of the information box in response to a first sliding operation on the chat entry control; The first switching unit is used to switch the session information in the information box to the second display mode in response to the sliding operation meeting the first preset condition.
21. A computer device, characterized in that, The computer device includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the program to implement the information display method in the game as described in any one of claims 1 to 19.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a plurality of instructions adapted for loading by a processor to execute the information display method in a game according to any one of claims 1 to 19.