Method, device and electronic device for controlling information control display in games
By adaptively adjusting the display content of the team information control, the problem of team information control blocking the game scene is solved, and the simplicity of the game interface and the visual experience are improved.
Patent Information
- Application Number
- CN202210781640.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-04
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-07-04
AI Technical Summary
In multiplayer online role-playing games, team information controls occupy a large display area, obstructing the game scene and affecting the simplicity and visual experience of the game interface.
By responding to game state changes and operations, the display content of the information control is adaptively adjusted, and only character information matching the current game state is displayed, reducing unnecessary display areas.
It improves the simplicity of the game interface and improves the visual experience of the game.
Smart Images

Figure CN115337638B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of game technology, and in particular to a method, device and electronic device for controlling information control display in a game. Background Art
[0002] Some games require multiple players to form a team and participate together. A team information control is typically displayed on the game interface. This control displays information about each team member, such as their avatar, level, nickname, health bar, and mana. It also allows for interaction, allowing players to select a teammate and then use skills on them, or send and receive voice messages between teammates. Because of its information display and interactive functionality, the control occupies a large area on the game interface, obscuring portions of the game scene. This reduces the simplicity of the interface and impacts the visual experience. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a method, device and electronic device for controlling the display of information controls in games, so as to reduce the display area of information controls on the game interface, reduce the obstruction of the game scene screen, make the game interface more concise, and make the game have a higher visual experience.
[0004] In a first aspect, an embodiment of the present invention provides a method for controlling the display of an information control in a game, wherein a graphical user interface is provided through a terminal device, and at least a portion of a game scene is displayed in the graphical user interface, and the game scene includes a controlled virtual character. The method comprises: in response to the controlled virtual character and at least one first virtual character forming the same game camp, providing an information control in the graphical user interface, and the information control displaying at least one type of character information for referring to the first virtual character and / or the controlled virtual character; in response to a change in the game state of the game or the execution of a specified operation on the information control, determining target display content corresponding to the information control, wherein the game state includes: the scene state of the game and / or the character state of the controlled virtual character, and the target display content includes one or more types of character information; and updating the displayed information control based on the target display content.
[0005] The types of the above-mentioned character information include at least: occupation information, avatar information, level information, character status information, and communication tool information; the above-mentioned step of determining the target display content corresponding to the information control in response to the change of the game state of the game includes: in response to the change of the game state of the game, determining the first game state after the game state changes, determining one or more types of character information matching the first game state; determining the character information corresponding to the first virtual character and / or the controlled virtual character as the target display content of the information control.
[0006] Each type of character information mentioned above includes at least one attribute information. The step of updating the display information control based on the target display content includes: updating the character information corresponding to the first virtual character and / or the controlled virtual character in the information control, wherein the character information matches the first game state and includes corresponding attribute information.
[0007] Each of the above-mentioned attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; the above-mentioned step of determining one or more types of character information matching the first game state includes: determining the first state value based on the scene state and character state corresponding to the first game state; determining one or more types of character information matching the first game state, and the attribute information included in each type of character information, based on the first state value and the attribute value corresponding to each type of attribute information; the above-mentioned step of updating the display information control based on the target display content includes: updating the display of one or more types of character information matching the first game state corresponding to the first virtual character and / or the controlled virtual character in the information control based on the first state value, and the attribute information included in each type of character information.
[0008] The above scene states include: indoor state, home state, main city state, outdoor state, dungeon state, and player-versus-player PVP state; the character states include: standing state, walking state, running state, and riding state.
[0009] The above-mentioned step of determining the first state value based on the scene state and character state corresponding to the first game state includes: searching for the first state values of the scene state and character state corresponding to the first game state from a preset state value lookup table; wherein the first dimension of the state value lookup table includes multiple scene states, and the second dimension of the state value lookup table includes multiple character states; any scene state and any character state correspond to a state value.
[0010] In the above, on the first dimension, in order of state value from low to high, multiple scene states are arranged as follows: indoor state, home state, main city state, outdoor state, copy state, player vs. player PVP state; wherein, the state values of at least some scene states are different; on the second dimension, in order of state value from low to high, multiple character states are arranged as follows: standing state, walking state, running state, riding state; wherein, in at least one scene state, the state values of at least some of the multiple character states are different.
[0011] The above-mentioned steps of determining one or more types of character information matching the first game state, and the attribute information included in each type of character information based on the first state value and the attribute value corresponding to each type of attribute information, include: for each type of attribute information, if the attribute value of the attribute information is lower than or equal to the first state value, determining the attribute information as attribute information matching the first game state; for each type of character information, if the attribute information in the character information all matches the first game state, determining the character information as character information matching the first game state.
[0012] The types of the above-mentioned character information include at least: multiple categories of occupation information, avatar information, level information, character status information, and communication tool information; the attribute information of occupation information includes occupation icons; the attribute information of avatar information includes account avatars; the attribute information of level information includes account levels; the attribute information of character status information includes multiple categories of account names, health points, and mana points; and the communication tool information includes voice icons.
[0013] The above attribute information is arranged in the order of attribute value from low to high as follows: account portrait, account level, account name, voice icon, profession icon, health value, and mana value.
[0014] The step of determining the target display content of the information control in response to a specified operation being executed on the information control includes: responding to a deletion operation on the specified category of role information in the information control, deleting the specified category of role information from the current display content of the information control to obtain the target display content.
[0015] The above-mentioned information control arranges and displays information identifiers corresponding to at least one type of character information along the first dimension; the at least one type of character information includes one or more types of occupation information, avatar information, level information, character status information and communication tool information; the above-mentioned step of responding to the deletion operation of the specified category of character information in the information control, deleting the specified category of character information from the current display content of the information control, and obtaining the target display content includes: responding to a sliding operation acting on the display area of the specified category of character information, deleting the specified category of character information from the current display content of the information control, and obtaining the target display content.
[0016] The current display content of the above-mentioned control information corresponds to a first state value, and the first state value is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; the above-mentioned response to the deletion operation of the specified category character information in the information control, deleting the specified category character information from the current display content of the information control, and obtaining the target display content, includes: responding to the sliding operation acting on the information control, reducing the first state value, and obtaining the second state value; determining the character information of the category to which the attribute information greater than the second state value belongs as the specified category character information, deleting the specified category character information from the current display content of the information control, and obtaining the target display content.
[0017] The current display content of the above-mentioned control information corresponds to a first state value, and the first state value is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; the above-mentioned step of determining the target display content of the information control in response to the information control being executed with a specified operation includes: in response to the display area adjustment operation for the information control, adjusting the first state value to obtain a third state value; determining the character information of the category to which the attribute information less than or equal to the third state value belongs as the target display content of the information control.
[0018] The above-mentioned step of updating the display information control based on the target display content includes: arranging at least one type of character information in the target display content along the second dimension; if the first type of character information and the second type of character information in the at least one type of character information are separated by a specified distance, controlling the first type of character information or the second type of character information to move along the second dimension until the first type of character information and the second type of character information are adjacent.
[0019] In a third aspect, an embodiment of the present invention provides an electronic device including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the information control display control method in the above-mentioned game.
[0020] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the information control display control method in the above-mentioned game.
[0021] The embodiments of the present invention bring the following beneficial effects:
[0022] The information control display control method, device, and electronic device in the above-mentioned game provide an information control on a graphical user interface in response to a controlled virtual character and at least one first virtual character forming the same game camp, wherein the information control displays at least one type of character information for referring to the first virtual character and / or the controlled virtual character; in response to a change in the game state of the game or a specified operation being performed on the information control, the target display content corresponding to the information control is determined, wherein the game state includes: the scene state of the game and / or the character state of the controlled virtual character, and the target display content includes one or more types of character information; and the information control is updated based on the target display content. In the above-mentioned method, the display content of the information control changes adaptively with the game state or operation, so that the display content of the information control matches the game state or operation, and there is no need to display the entire display content of the information control at any time, thereby reducing the display area of the information control on the game interface, reducing the occlusion of the game scene screen, making the game interface more concise, and providing the game with a higher visual experience.
[0023] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0024] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1 A schematic diagram of a team information control provided by an embodiment of the present invention;
[0027] Figure 2 A flowchart of a method for controlling the display of information controls in a game provided by an embodiment of the present invention;
[0028] Figure 3 A schematic diagram of an information control provided by an embodiment of the present invention;
[0029] Figure 4 A schematic diagram of another information control provided by an embodiment of the present invention;
[0030] Figure 5 A schematic diagram of a third information control provided by an embodiment of the present invention;
[0031] Figure 6 A schematic diagram of a fourth information control provided by an embodiment of the present invention;
[0032] Figure 7 A schematic diagram of a fifth information control provided by an embodiment of the present invention;
[0033] Figure 8 A schematic diagram of performing a specified operation on an information control provided by an embodiment of the present invention;
[0034] Figure 9 A schematic diagram of a display area adjustment control provided by an embodiment of the present invention;
[0035] Figure 10 A schematic diagram of another display area adjustment control provided by an embodiment of the present invention;
[0036] Figure 11 A schematic structural diagram of an information control display control device in a game provided by an embodiment of the present invention;
[0037] Figure 12 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0038] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work shall fall within the scope of protection of the present invention.
[0039] Take MMORPG (Massive Multiplayer Online Role-Playing Game) as an example. MMORPG requires multiple players to form a team and participate in the game together as a team. In the game interface, the team information control is displayed above the game scene screen. The team information control is also called the team frame. For ease of understanding, such as Figure 1 As shown, the team information control displays the information of each player in the current player's team, such as avatar, nickname, attribute value, etc.
[0040] Before using a healing skill on a teammate, the current player needs to select the target teammate from the team information control, then use the healing skill to complete the healing operation. The team information control is used for information display and interaction. Therefore, the team information control occupies a large display area on the game interface. Especially in mobile games, where the game interface is limited, the team information control significantly obscures the game scene, reducing the simplicity of the game interface and negatively affecting the overall quality and appearance of the game.
[0041] Based on the above, the embodiments of the present invention provide a method, device and electronic device for controlling the display of information controls in a game. This technology can be applied to game scenarios with information display requirements, as well as game scenarios with interaction requirements.
[0042] In one embodiment of the present invention, the method for controlling the display of information controls in a game can be executed on a local terminal device or a server. When the method for controlling the display of information controls in a game is executed on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.
[0043] In an optional embodiment, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a gaming method based on cloud computing. In the cloud game operation mode, the operating body of the game program and the main body of the game screen presentation are separated. The storage and operation of the information control display control method in the game are completed on the cloud game server. The role of the client device is to receive and send data and present the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, TV, computer, PDA, etc.; but the cloud game server in the cloud is responsible for information processing. When playing the game, the player operates the client device to send operation instructions to the cloud game server. The cloud game server runs the game according to the operation instructions, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.
[0044] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present the game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed and run by an electronic device in a conventional manner. The local touch terminal device can provide the graphical user interface to the player in a variety of ways, for example, it can be rendered and displayed on the terminal's display screen, or provided to the player through holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present the graphical user interface, the graphical user interface includes the game screen, and the processor is used to run the game, generate the graphical user interface, and control the display of the graphical user interface on the display screen.
[0045] In one possible implementation, an embodiment of the present invention provides a method for controlling the display of information controls within a game, wherein a graphical user interface is provided via a terminal device, which may be the aforementioned local terminal device or a client device in the aforementioned cloud interaction system. The graphical user interface provided by the terminal device can display interface content, such as a game scene screen, a communication interaction window, and so on, depending on the type of application being launched.
[0046] like Figure 2 As shown, the information control display control method in the game provides a graphical user interface through a terminal device, wherein the terminal device can be the local terminal device described above or the client device described above. The graphical user interface displays at least a portion of a game scene, which includes a controlled virtual character. A virtual camera captures the three-dimensional game scene of the target game to obtain a scene image. The position and shooting angle of the virtual camera can be determined based on the position of the player's controlled virtual object or based on the player's perspective adjustment instructions. In a game match of the target game, there are usually multiple players participating, and at the same time, a virtual object corresponding to each player appears in the game scene.
[0047] The method for controlling the display of information controls in the above game includes the following steps:
[0048] Step S202, in response to the controlled virtual character and at least one first virtual character forming the same game camp, providing an information control on the graphical user interface, the information control displaying at least one type of character information for referring to the first virtual character and / or the controlled virtual character;
[0049] In a team-based game, a game faction includes multiple virtual characters, including, in addition to a controlled virtual character, at least one first virtual character, which is a virtual character controlled by another terminal device. The information control may display the character information of both the first virtual character and the controlled virtual character simultaneously, or it may display only the character information of the first virtual character or the controlled virtual character. In one implementation, the information control may display only the character information of the first virtual character, i.e., the information control displays the character information of virtual characters in the same faction as the controlled virtual character. The character information of the controlled virtual character may be displayed in the avatar frame.
[0050] The above-mentioned character information may include multiple categories such as occupation information, avatar information, level information, character status information, and communication tool information; in team combat games, the information control includes the character information of the first virtual character in the same game camp as the controlled virtual character, so that the player can observe the status of teammates in real time, and can also realize voice interaction with teammates through voice icons; through the information control, the skills between teammates can also be released.
[0051] Step S204, in response to a change in the game state of the game or a specified operation being performed on the information control, determining target display content corresponding to the information control, wherein the game state includes: a scene state of the game and / or a character state of the controlled virtual character, and the target display content includes one or more types of character information;
[0052] This embodiment aims to achieve adaptive changes and adjustments to the content displayed in the information control. According to changes in the game state or the execution of specified operations on the information control, the corresponding target display content is determined, thereby controlling the information control to display the target display content. When the game state changes or the information control is executed with a specified operation, the target display content also changes accordingly, thereby achieving adaptive changes in the content displayed in the information control as the game state changes or the information control is executed with a specified operation.
[0053] The game state change of the above-mentioned target game is usually not triggered directly by the player, but may be triggered indirectly by the player. For example, the player controls the controlled virtual object to move to a new scene, causing the scene state to change, or the player controls the controlled virtual object to change its posture, causing the object state to change.
[0054] The aforementioned game state may include only the scene state of the game scene screen or the object state of the controlled virtual object, or it may include both the scene state of the game scene screen and the object state of the controlled virtual object. That is, a game state is determined by both the scene state and the object state. In the game state, the scene state of the game scene screen can be pre-divided into multiple types, such as indoor, home, main city, outdoor, copy, PVP (Player Versus Player), and other scene states. Each game scene of the target game can be pre-set with a corresponding scene state. When the game scene screen displays a certain game scene, the scene state set for the game scene is directly obtained. The aforementioned object state can also be pre-divided into multiple types, such as combat power, walking, running, cycling, and other object states. In different object states, the movement speed, posture, etc. of the controlled virtual object are different. Based on parameters such as movement speed and posture, the current object state of the controlled virtual object can be determined.
[0055] Furthermore, the execution of designated actions on the aforementioned information controls is typically directly triggered by player actions. In addition to adjusting the displayed content of the information controls based on the game state, the displayed content of the game controls can also be adjusted based on player actions. These designated actions can include player edits to the displayed content of the information controls, such as adding or deleting content. These designated actions can be implemented through single-clicking, double-clicking, or sliding, among other actions.
[0056] The target display content includes one or more types of character information. Each character information includes one or more attribute information. The target display content can be determined using attribute information as a dimension. In this case, the target display content includes character information corresponding to attribute information that matches the specified conditions. If only some attribute information matches the specified conditions, only that portion of attribute information is displayed.
[0057] Step S206: updating and displaying the information control based on the target display content.
[0058] After the target display content is determined, the target display content is displayed in the information control. Before the target display content is determined, the current display content is usually displayed in the information control. It should be noted that the target display content and the current display content can be the same or different. In the case where the two are the same, it can be understood that the target display content matched by the aforementioned specified condition is the same as the target display content of the previous historical specified condition of the specified condition, or the aforementioned specified condition is the same as the previous historical specified condition of the specified condition. In the case where the target display content and the current display content are different, it is usually because the specified condition has changed, and the target display content corresponding to the two specified conditions is different.
[0059] In one implementation, when the target display content is different from the currently displayed content, part of the currently displayed content may need to be deleted. At this time, part of the content is undisplayed in the information control. For the sake of compactness of information display, the remaining content may need to be rearranged, for example, by moving the display position, changing the display shape, etc.; in addition, part of the content may be added based on the currently displayed content. Since the display content has been increased, the target display content may also be rearranged, thereby improving the visual effect of the information display.
[0060] The information control display control method in the above-mentioned game provides an information control on a graphical user interface in response to a controlled virtual character and at least one first virtual character forming the same game camp, wherein the information control displays at least one type of character information for referring to the first virtual character and / or the controlled virtual character; in response to a change in the game state of the game or a specified operation being performed on the information control, the target display content corresponding to the information control is determined, wherein the game state includes: the scene state of the game and / or the character state of the controlled virtual character, and the target display content includes one or more types of character information; and the information control is updated based on the target display content. In the above-mentioned method, the display content of the information control changes adaptively with the game state or operation, so that the display content of the information control matches the game state or operation, and there is no need to display the entire display content of the information control at any time, thereby reducing the display area of the information control on the game interface, reducing the occlusion of the game scene screen, making the game interface more concise, and making the game have a higher visual experience.
[0061] The following embodiment continues to describe how the displayed content of the information control changes as the game state changes.
[0062] The types of the above-mentioned character information include at least: multiple categories of occupation information, avatar information, level information, character status information, and communication tool information; in response to a change in the game state of the game, determining a first game state after the game state changes, and determining one or more categories of character information matching the first game state; determining the character information corresponding to the first virtual character and / or the controlled virtual character as the target display content of the information control.
[0063] The game state can be determined by the scene state of the game scene screen, the object state of the controlled virtual object, or a combination of the scene state of the game scene screen and the object state of the controlled virtual object. When the game state changes, a first game state after the game state change is obtained. The first game state can also be understood as the current game state after the game state change.
[0064] Character information corresponding to each game state can be pre-set. Once the first game state is determined, one or more types of character information matching the first game state can be obtained through a search. This character information can be all or part of the character information that can be displayed in the information control. Matching conditions can also be pre-set for each game state. Once the game state is determined, the matching conditions are determined accordingly. Each type of character information that can be displayed in the information control is matched against the matching conditions. The successfully matched character information is the aforementioned first attribute information.
[0065] Furthermore, character information corresponding to the first virtual character and / or the controlled virtual character is updated and displayed in the information control, wherein the character information matches the first game state and includes corresponding attribute information.
[0066] In one specific implementation, character information may include one or more types of attribute information. As mentioned above, the types of character information include at least one of: occupation information, avatar information, level information, character status information, and communication tool information. Among these, occupation information attributes include occupation icons; avatar information attributes include account avatars; level information attributes include account levels; character status information attributes include multiple types of account names, health points, and mana points; and communication tool information includes voice icons.
[0067] In order to determine one or more categories of character information that matches the first game state, in this embodiment, each type of attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; in actual implementation, the first state value is determined based on the scene state and character state corresponding to the first game state; based on the first state value and the attribute value corresponding to each attribute information, one or more categories of character information that matches the first game state, as well as the attribute information included in each category of character information, are determined; based on the first state value, one or more categories of character information that matches the first game state corresponding to the first virtual character and / or the controlled virtual character, as well as the attribute information included in each category of character information, are updated and displayed in the information control.
[0068] Each type of attribute information is preset with an attribute value corresponding to the attribute information; each game state is preset with a state value corresponding to the game state; when determining the first attribute information that matches the first game state, the first state value corresponding to the scene state and character state corresponding to the first game state can be determined first; for each type of attribute information, it is determined whether the first state value satisfies the attribute value of the attribute information; if so, the attribute information is determined as the first attribute information, and the character information corresponding to the attribute information is the character information that matches the first game state. The first state value satisfies the attribute value corresponding to the attribute information, which can be understood as the magnitude relationship between the first state value and the attribute value meeting a preset condition, which can be greater than, less than, greater than or equal to, or less than or equal to.
[0069] For example, for the attribute information mana value, the attribute value of this attribute information is 7, and for the attribute information account level, the attribute value of this attribute information is 2. Assuming that the first state value of the first game state is 4, at this time, the first state value is greater than the attribute value of the account level, the account level can be determined as the first attribute information, and the character information corresponding to the account level is the character information that matches the first game state; and the first state value is less than the attribute value of the mana value, the mana value cannot be used as the first attribute information, and the character information corresponding to the mana value does not match the first game state.
[0070] Specifically, the game state includes the scene state of the game scene screen and the object state of the controlled virtual object; among them, the scene state includes multiple types, and the object state includes multiple types; specifically, the scene state includes: indoor state, home state, main city state, outdoor state, copy state, player-versus-player PVP state; the character state includes: standing state, walking state, running state, and riding state.
[0071] A game state includes a scene state and an object state. In a specific implementation, a first state value of the scene state and character state corresponding to the first game state is searched from a preset state value lookup table. The state value lookup table includes multiple scene states in a first dimension, and multiple character states in a second dimension. Any scene state and any character state corresponds to a state value.
[0072] The state value lookup table is a two-dimensional table, which determines a scene state on the first dimension and a character state on the second dimension. At this time, a state value can be uniquely determined by the determined scene state and character state.
[0073] The state value lookup table can be set as follows:
[0074] In the first dimension, multiple scene states are arranged in order from low to high in terms of state value: indoor state, home state, main city state, outdoor state, dungeon state, and player-versus-player (PVP) state; among them, the state values of at least some scene states are different; it should be noted here that, in the above-mentioned arrangement order of scene states, the state value of the latter scene state is greater than or equal to the state value of the previous scene state, and in different character states, the state value corresponding to a scene state may be the same or different.
[0075] As an example, when the character is in a standing state, the status values corresponding to the indoor state, home state, main city state, outdoor state, copy state, and player vs. player PVP state can be 1, 1, 4, 6, 7, and 7 respectively; when the character is in a riding state, the status values corresponding to the indoor state, home state, main city state, outdoor state, copy state, and player vs. player PVP state can be 1, 1, 1, 3, 4, and 4 respectively.
[0076] In the second dimension, multiple character states are arranged in order from low to high state values: standing state, walking state, running state, and riding state; wherein, in at least one scene state, the state values of at least some of the multiple character states are different.
[0077] For example, in a certain scene state, the status values corresponding to different character states are the same; as an example, when the scene state is indoors, the status values corresponding to the standing state, walking state, running state, and cycling state can be 1, 1, 1, 1, respectively. In a certain scene, the status values corresponding to different character states can be different; as an example, when the scene state is a copy state, the status values corresponding to the standing state, walking state, running state, and cycling state can be 7, 6, 5, and 4, respectively.
[0078] In a specific implementation method, for each type of attribute information, if the attribute value of the attribute information is lower than or equal to the first state value, the attribute information is determined to be attribute information matching the first game state; for each type of character information, if the attribute information in the character information all matches the first game state, the character information is determined to be character information matching the first game state.
[0079] For ease of understanding, the following Tables 1 and 2 are used as examples.
[0080] Table 1
[0081]
[0082]
[0083] Table 1 shows seven types of attribute information and the corresponding attribute values for each. In one example, for each attribute information, if the game status value is higher than the attribute value of the attribute information, the attribute information can be displayed. In this example, the attribute information is arranged in descending order of attribute value as follows: account avatar, account level, account name, voice icon, class icon, health points, and mana points. It can be understood that the higher the attribute value, the less important the attribute information is and the less likely it is to be displayed in the information control.
[0084] Table 2
[0085]
[0086] In Table 2, a game state is determined by a scene state and an object state, and each game state corresponds to a state value. For example, if the scene state is Main City and the object state is Walking, the game state's state value is 3; another example is if the scene state is Instance and the object state is Standing, the game state's state value is 7.
[0087] For example, the first state value is 6. At this time, the attribute value of the attribute information mana is higher than the first state value. The mana value does not match the first game state. The attribute values of other attribute information are all lower than or equal to the first state value and match the first game state.
[0088] As an example, see Figure 3 The information control displays a total of five first virtual objects, and each first virtual object displays seven types of attribute information, including occupation icon, account avatar, account level, account name, health value, mana value, and voice icon; in this example, the seven types of attribute information are divided into five groups, and each attribute information corresponds to a type of character information; among them, the first group includes occupation icons, and the corresponding character information is occupation information; the second group includes account avatars, and the corresponding character information is avatar information; the third group includes account level, and the corresponding character information is level information; the fourth group includes account name, health value, and mana value, and the corresponding character information is character status information; the fifth group includes voice icons, and the corresponding character information is communication tool information. Figure 3 All attribute information is displayed in .
[0089] Continue to see Figure 4 When the game status changes, the display content of the information control also changes accordingly. At this time, the information control only displays the attribute information of the first, second and fifth groups, that is, the three types of character information: occupation information, avatar information and communication tool information; the attribute information of the third and fourth groups is canceled, thereby reducing the display area of the information control.
[0090] Continue to see Figure 5When the game status changes again, the display content of the information control continues to change. At this time, the information control only displays the attribute information of the first, third and fifth groups, that is, the three types of character information: occupation information, level information and communication tool information; the attribute information of the second and fourth groups is canceled, thereby further reducing the display area of the information control.
[0091] Figure 6 As another example, the attribute information for groups 1, 2, 3, and 5 is displayed normally, while group 4 only displays the account name, eliminating health and mana. Given the varying lengths of the account names of different target objects, the display area for group 4 can be determined based on the longest account name, and the account names of different target objects can then be vertically aligned.
[0092] The game state affects the attribute information displayed in the information control. In addition, different attribute information can be displayed for different virtual objects. Specifically, from the virtual objects within the specified range, determine whether there is a first object with a specified state; wherein the specified state includes: the object attribute value of the first object meets a preset threshold, or the first object is preset as the object of focus; if there is a first object with the specified state, determine the second attribute information of the first object based on the specified state; wherein the second attribute information is different from the first attribute information; and update the second attribute information of the first object to the target display content of the information control.
[0093] When the object attribute value of the first object in the specified state meets a preset threshold, the object attribute may be health or mana. When the health of the first object is lower than the preset health threshold, or the mana of the first object is lower than the preset mana threshold, the first object is in the specified state. At this time, second attribute information of the first object may be displayed. The second attribute information is different from the first attribute information. Specifically, the second attribute information includes the first attribute information, or the second attribute information and the first attribute information together constitute the attribute information displayed for the first object.
[0094] In the above method, when the object data of the first object meets a preset threshold, different attribute information than that of other target objects is displayed in the information control. For example, if the health of the first object falls below the preset health threshold, it indicates that the first object needs to be rescued by other teammates. In this case, the first object needs to occupy a larger area, and more attribute information of the first object is displayed, so that other players in the team can see the first object and rescue it. On the other hand, displaying more attribute information of the first object can make it easier for other players to select the first object and then use healing skills or rescue skills on it.
[0095] In addition, the player corresponding to the controlled virtual object can also set a target object in the team as the object of focus. After executing the setting operation, the target object is the first object with a specified state. At this time, no matter how the game state changes, the attribute information of the first object in the information control is different from the attribute information of other target objects.
[0096] For ease of understanding, Figure 7 As an example, the information control displays the second attribute information of the first object, and the second attribute information contains more attribute information of the first object; at the same time, the information control displays the first attribute information of other target objects, and the first attribute information contains less attribute information of the virtual object, so that the attribute information of the first object is highlighted through a larger display area and more display content, so that players can quickly pay attention to the first object.
[0097] The following embodiment describes an implementation method for determining the target display content of an information control through a player's operation.
[0098] In one specific implementation, in response to a delete operation on character information of a specified category in the information control, the character information of the specified category is deleted from the current display of the information control, resulting in target display content. It will be understood that the character information of the specified category is displayed in the current display of the information control. When the player no longer needs to view the character information of the specified category, the above-mentioned delete operation can be performed. This delete operation can be a single-click operation, a long-press operation, a swipe operation, a double-click operation, etc., on the display area of the character information of the specified category. After deleting the character information of the specified category from the current display of the information control, the remaining character information is the aforementioned target display content.
[0099] To improve player convenience, in this embodiment, the information control displays information identifiers corresponding to at least one type of character information arranged along a first dimension. The at least one type of character information includes one or more of occupation information, avatar information, level information, character status information, and communication tool information. The first dimension can be the horizontal or vertical direction of the graphical user interface. For example, if multiple first virtual objects are arranged vertically, then the multiple character information corresponding to each first virtual object is arranged horizontally; or, if multiple first virtual objects are arranged horizontally, then the multiple characters corresponding to each first virtual object are arranged vertically.
[0100] In response to a sliding operation on the designated category role information display area, the designated category role information is deleted from the current display content of the information control to obtain the target display content. Figure 8As an example, in this example, the role information of the specified category includes a voice icon, and the role information of the specified category is arranged vertically. At this time, on the display area of the role information of the specified category, a sliding operation along the vertical direction can cancel the display of the role information of the specified category, that is, the voice icon, in the information control. Figure 8 In the example above, an upward sliding operation is used for explanation, and a downward sliding operation can also be performed. It should be noted that the sliding direction of the sliding operation along the first dimension can be offset based on the first dimension to provide players with a relatively loose operation tolerance space. For example Figure 8 In the vertical direction, the sliding operation is actually a sliding operation in the upward and right direction.
[0101] In the above example, the sliding operation acts on the display area of the character information, that is, the character information is regarded as the character information of the specified category, and then the character information of the specified category is deleted. In other methods, the character information of the specified category can also be determined based on the sliding direction of the sliding operation. For example, the sliding direction is from left to right. At this time, the character information on the leftmost side of the information control can be determined as the character information of the specified category; for example, the sliding direction is from right to left. At this time, the character information on the rightmost side of the information control can be determined as the character information of the specified category.
[0102] In the above manner, players can directly operate the information control according to their own needs, thereby controlling the display content of the information control, making the display content of the information control more flexible and controllable.
[0103] In another embodiment, as described in the above embodiment, the currently displayed content of the control information corresponds to a first state value, and the first state value is determined based on the scene state and the character state corresponding to the game state; the attribute value of each attribute information in the currently displayed content of the information control is less than the first state value;
[0104] In response to a sliding operation on the information control, the first state value is reduced to obtain a second state value; the role information of the category to which the attribute information greater than the second state value belongs is determined as the specified category role information, and the specified category role information is deleted from the current display content of the information control to obtain the target display content.
[0105] In the initial state, the state value is determined solely based on the scene state and the character state, resulting in the aforementioned first state value. At this point, the player has not performed any operation on the information control. When the player performs a sliding operation on the information control, the state value is reduced from the first state value to obtain a second state value. Because the second state value is smaller than the first state value, the information control contains attribute information that is smaller than or equal to the first state value but greater than the second state value. The character information corresponding to this attribute information is the character information of the specified category.
[0106] For example, the first state value is 7. At this time, the information control includes attribute information of all character categories. After the player performs a sliding operation, the second state value becomes 6. At this time, the attribute value of the mana attribute information in the information control is 7, which is greater than the second state value. At this time, the character information corresponding to the mana attribute information is the character information of the specified category.
[0107] In addition to sliding, players can also perform other operations to adjust the display content of the information control. Specifically, the current display content of the control information corresponds to a first state value, which is determined based on the scene state and character state corresponding to the game state. The attribute value of each attribute information in the current display content of the information control is less than the first state value. In response to an operation to adjust the display area of the information control, the first state value is adjusted to obtain a third state value. The character information of the category to which the attribute information greater than the third state value belongs is determined as the target display content of the information control.
[0108] In this method, the player directly adjusts the display area of the information control, and as the display area changes, the display content of the information control is adaptively adjusted.
[0109] The above-mentioned display area adjustment operation can be an operation to expand the display area. At this time, the third state value obtained is greater than the first state value, the character information displayed in the information control will increase, and the attribute information corresponding to each attribute value less than or equal to the third state value will be used as the target display content.
[0110] The above-mentioned display area adjustment operation can also be an operation to shrink the display area. At this time, the third state value obtained is less than the first state value, the character information displayed in the information control will be reduced, and the attribute information corresponding to each attribute value less than or equal to the third state value will be used as the target display content.
[0111] In actual operation, a display area adjustment control can be set at a designated location of the information control. Players can operate the control to implement the aforementioned display area adjustment operation. Figure 9 As an example, the display area adjustment control is set on the right side of the information control. Players can drag the control left or right to adjust the horizontal length of the information control, thereby changing the display area of the information control. Figure 10 After dragging the display area adjustment control to the left, only the attribute information of the account profile picture and account level is displayed in the information control. When the control is dragged to the right, other attribute information is displayed according to the size relationship between the attribute value and the status value.
[0112] The above-mentioned display area adjustment control can also be set at the bottom of the information control. Players can drag the control up and down to adjust the vertical length of the information control, thereby changing the display area of the information control; when the vertical length of the information control is small, only part of the virtual object can be displayed in the information control.
[0113] The above method can realize adaptive change of the displayed content of the information control as the display area is adjusted, thereby improving the flexibility of content display.
[0114] Furthermore, to improve the compactness of the information control's display content and reduce obstruction of the game scene, when the attribute information in the target display content differs from the currently displayed attribute information, the attribute information in the target display content can be rearranged. Specifically, at least one type of character information in the target display content is arranged and displayed along the second dimension; if, within the at least one type of character information, a first type of character information and a second type of character information are separated by a specified distance, the first type of character information or the second type of character information is controlled to move along the second dimension until the first type of character information and the second type of character information are adjacent.
[0115] In one embodiment, the second dimension direction can be a horizontal direction, and along the horizontal direction, character information 1, character information 2, character information 3, and character information 4 are arranged adjacent to each other in sequence; if the target display content only includes character information 1, character information 3, and character information 4, at this time, the display area originally displaying character information 2 is a blank area. At this time, character information 3 and character information 4 are moved to the left until character information 1 is adjacent to character information 3.
[0116] In the aforementioned game's information control display control method, the display and hiding of each piece of information in the information control is controlled based on the scene state and object state. Furthermore, when a piece of information is hidden, the remaining information in the information control is automatically arranged according to the rules, adaptively adjusting the control layout of the information control. Furthermore, players can manually control the display and hiding of each piece of information in the information control using drag gestures.
[0117] Corresponding to the above method embodiment, see Figure 11 The schematic diagram of the structure of an information control display control device in a game is shown, which provides a graphical user interface through a terminal device, and the graphical user interface displays at least part of a game scene, which includes a controlled virtual character. The device includes:
[0118] A control providing module 110 is configured to provide an information control on a graphical user interface in response to the controlled virtual character and at least one first virtual character forming a same game camp, the information control displaying at least one type of character information for referring to the first virtual character and / or the controlled virtual character;
[0119] The content determination module 112 is configured to determine target display content corresponding to the information control in response to a change in the game state or a specified operation being performed on the information control, wherein the game state includes: a scene state of the game and / or a character state of a controlled virtual character, and the target display content includes one or more types of character information;
[0120] The control updating module 114 is configured to update the display information control based on the target display content.
[0121] The information control display control device in the above-mentioned game provides an information control on a graphical user interface in response to a controlled virtual character and at least one first virtual character forming the same game camp, wherein the information control displays at least one type of character information for referring to the first virtual character and / or the controlled virtual character; in response to a change in the game state of the game or a specified operation being performed on the information control, the target display content corresponding to the information control is determined, wherein the game state includes: the scene state of the game and / or the character state of the controlled virtual character, and the target display content includes one or more types of character information; and the information control is updated based on the target display content. In the above-mentioned method, the display content of the information control changes adaptively with the game state or operation, so that the display content of the information control matches the game state or operation, and there is no need to display the entire display content of the information control at any time, thereby reducing the display area of the information control on the game interface, reducing the occlusion of the game scene screen, making the game interface more concise, and making the game have a higher visual experience.
[0122] The types of the above-mentioned character information include at least: occupation information, avatar information, level information, character status information, and communication tool information; the above-mentioned content determination module is also used to: in response to a change in the game state of the game, determine the first game state after the game state changes, and determine one or more types of character information that matches the first game state; determine the character information corresponding to the first virtual character and / or the controlled virtual character as the target display content of the information control.
[0123] Each type of character information mentioned above includes at least one attribute information. The control update module is also used to: update and display the character information corresponding to the first virtual character and / or the controlled virtual character in the information control, wherein the character information matches the first game state and includes corresponding attribute information.
[0124] Each of the above-mentioned attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; the above-mentioned content determination module is also used to: determine the first state value based on the scene state and character state corresponding to the first game state; based on the first state value and the attribute value corresponding to each attribute information, determine one or more types of character information matching the first game state, and the attribute information included in each type of character information; the above-mentioned control update module is also used to: based on the first state value, update and display one or more types of character information matching the first game state corresponding to the first virtual character and / or the controlled virtual character, and the attribute information included in each type of character information in the information control.
[0125] The above scene states include: indoor state, home state, main city state, outdoor state, dungeon state, and player-versus-player PVP state; the character states include: standing state, walking state, running state, and riding state.
[0126] The above-mentioned content determination module is also used to: search for the first state value of the scene state and character state corresponding to the first game state from a preset state value lookup table; wherein the first dimension of the state value lookup table includes multiple scene states, and the second dimension of the state value lookup table includes multiple character states; any scene state and any character state correspond to a state value.
[0127] In the above, on the first dimension, in order of state value from low to high, multiple scene states are arranged as follows: indoor state, home state, main city state, outdoor state, copy state, player vs. player PVP state; wherein, the state values of at least some scene states are different; on the second dimension, in order of state value from low to high, multiple character states are arranged as follows: standing state, walking state, running state, riding state; wherein, in at least one scene state, the state values of at least some of the multiple character states are different.
[0128] The above-mentioned content determination module is also used to: for each type of attribute information, if the attribute value of the attribute information is lower than or equal to the first state value, determine the attribute information as attribute information matching the first game state; for each type of character information, if the attribute information in the character information all matches the first game state, determine the character information as character information matching the first game state.
[0129] The types of the above-mentioned character information include at least: multiple categories of occupation information, avatar information, level information, character status information, and communication tool information; the attribute information of occupation information includes occupation icons; the attribute information of avatar information includes account avatars; the attribute information of level information includes account levels; the attribute information of character status information includes multiple categories of account names, health points, and mana points; and the communication tool information includes voice icons.
[0130] The attribute information is arranged in descending order of attribute value as follows: account avatar, account level, account name, voice icon, occupation icon, health value, and mana value.
[0131] The content determination module is further configured to: respond to a deletion operation on the role information of a specified category in the information control, delete the role information of the specified category from the current display content of the information control, and obtain the target display content.
[0132] The above-mentioned information control is arranged along the first dimension to display information identifiers corresponding to at least one type of character information; the at least one type of character information includes one or more types of occupation information, avatar information, level information, character status information and communication tool information; the above-mentioned content determination module is also used to: respond to a sliding operation on the specified category character information display area, delete the specified category character information from the current display content of the information control, and obtain the target display content.
[0133] The current display content of the above-mentioned control information corresponds to a first state value, and the first state value is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; the above-mentioned content determination module is also used to: respond to a sliding operation acting on the information control, reduce the first state value, and obtain a second state value; determine the character information of the category to which the attribute information greater than the second state value belongs as the specified category character information, delete the specified category character information from the current display content of the information control, and obtain the target display content.
[0134] The current display content of the above-mentioned control information corresponds to a first state value, and the first state value is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; the above-mentioned content determination module is also used to: respond to the display area adjustment operation of the information control, adjust the first state value, and obtain a third state value; determine the character information of the category to which the attribute information less than or equal to the third state value belongs as the target display content of the information control.
[0135] The control update module is further configured to: arrange at least one type of character information in the target display content along a second dimension; and if, in at least one type of character information, the first type of character information and the second type of character information are separated by a specified distance, control the first type of character information or the second type of character information to move along the second dimension until the first type of character information and the second type of character information are adjacent to each other.
[0136] This embodiment also provides an electronic device including a processor and a memory, wherein the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above-mentioned method for controlling the display of information controls in a game. The electronic device can be a server or a touch-screen terminal device.
[0137] See also Figure 12 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine executable instructions that can be executed by the processor 100. The processor 100 executes the machine executable instructions to implement the information control display control method in the above game.
[0138] Furthermore, Figure 12 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .
[0139] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is achieved through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 12 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0140] The processor 100 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 100 or software instructions. The above processor 100 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium well-known in the art, such as a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or register. The storage medium is located in the memory 101. The processor 100 reads the information in the memory 101 and, in conjunction with its hardware, completes the steps of the method of the aforementioned embodiment.
[0141] The processor in the electronic device can implement the following operations in the method for controlling the display of information controls in the game by executing machine-executable instructions:
[0142] A graphical user interface is provided through a terminal device, and at least a part of a game scene is displayed in the graphical user interface, and the game scene includes a controlled virtual character. The method includes: in response to the controlled virtual character and at least one first virtual character forming the same game camp, an information control is provided in the graphical user interface, and the information control displays at least one type of character information for referring to the first virtual character and / or the controlled virtual character; in response to a change in the game state of the game or a specified operation being performed on the information control, target display content corresponding to the information control is determined, wherein the game state includes: the scene state of the game and / or the character state of the controlled virtual character, and the target display content includes one or more types of character information; and the display information control is updated based on the target display content.
[0143] The types of character information include at least: occupation information, avatar information, level information, character status information, and communication tool information; in response to a change in the game state of the game, determining a first game state after the game state changes, determining one or more types of character information that matches the first game state; and determining the character information corresponding to the first virtual character and / or the controlled virtual character as the target display content of the information control.
[0144] Each type of character information includes at least one attribute information, and the character information corresponding to the first virtual character and / or the controlled virtual character is updated and displayed in the information control, wherein the character information matches the first game state and includes corresponding attribute information.
[0145] Each type of attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; a first state value is determined based on the scene state and character state corresponding to the first game state; based on the first state value and the attribute value corresponding to each type of attribute information, one or more types of character information matching the first game state, as well as the attribute information included in each type of character information, are determined; based on the first state value, one or more types of character information matching the first game state corresponding to the first virtual character and / or the controlled virtual character, as well as the attribute information included in each type of character information, are updated and displayed in the information control.
[0146] Scene states include: indoor state, home state, main city state, outdoor state, dungeon state, and player-versus-player PVP state; character states include: standing state, walking state, running state, and riding state.
[0147] From a preset state value lookup table, search for the first state value of the scene state and the character state corresponding to the first game state; wherein the first dimension of the state value lookup table includes multiple scene states, and the second dimension of the state value lookup table includes multiple character states; any scene state and any character state correspond to a state value.
[0148] On the first dimension, in order of state value from low to high, multiple scene states are arranged as follows: indoor state, home state, main city state, outdoor state, copy state, player vs. player PVP state; wherein, the state values of at least some scene states are different; on the second dimension, in order of state value from low to high, multiple character states are arranged as follows: standing state, walking state, running state, riding state; wherein, in at least one scene state, the state values of at least some of the multiple character states are different.
[0149] For each type of attribute information, if the attribute value of the attribute information is lower than or equal to the first state value, the attribute information is determined to be attribute information matching the first game state; for each type of character information, if the attribute information in the character information matches the first game state, the character information is determined to be character information matching the first game state.
[0150] The types of character information include at least: multiple categories of occupation information, avatar information, level information, character status information, and communication tool information; the attribute information of occupation information includes occupation icons; the attribute information of avatar information includes account avatars; the attribute information of level information includes account levels; the attribute information of character status information includes multiple categories of account names, health points, and mana points; and the communication tool information includes voice icons.
[0151] The attribute information is arranged in descending order of attribute value as follows: account avatar, account level, account name, voice icon, occupation icon, health value, and mana value.
[0152] In response to a deletion operation on the role information of the specified category in the information control, the role information of the specified category is deleted from the current display content of the information control to obtain the target display content.
[0153] The information control displays information identifiers corresponding to at least one type of character information arranged along a first dimension; the at least one type of character information includes one or more types of occupation information, avatar information, level information, character status information, and communication tool information; in response to a sliding operation on a display area of a specified category of character information, the specified category of character information is deleted from the current display content of the information control to obtain the target display content.
[0154] The current display content of the control information corresponds to a first state value, which is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; in response to a sliding operation acting on the information control, the first state value is reduced to obtain a second state value; the character information of the category to which the attribute information greater than the second state value belongs is determined as the specified category character information, and the specified category character information is deleted from the current display content of the information control to obtain the target display content.
[0155] The current display content of the control information corresponds to a first state value, which is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; in response to the display area adjustment operation of the information control, the first state value is adjusted to obtain a third state value; the character information of the category to which the attribute information less than or equal to the third state value belongs is determined as the target display content of the information control.
[0156] Arrange and display at least one type of character information in the target display content along a second dimension; if, in the at least one type of character information, first type of character information and second type of character information are separated by a specified distance, control the first type of character information or the second type of character information to move along the second dimension until the first type of character information and the second type of character information are adjacent.
[0157] In the above method, the display content of the information control changes adaptively with the game status or operation, so that the display content of the information control matches the game status or operation. There is no need to display the entire display content of the information control at any time, thereby reducing the display area of the information control on the game interface, reducing the obstruction of the game scene screen, making the game interface more concise, and giving the game a higher visual experience.
[0158] This embodiment further provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the information control display control method in the above-mentioned game.
[0159] The machine-executable instructions stored in the machine-readable storage medium can implement the following operations in the information control display method in the game by executing the machine-executable instructions:
[0160] A graphical user interface is provided through a terminal device, and at least a part of a game scene is displayed in the graphical user interface, and the game scene includes a controlled virtual character. The method includes: in response to the controlled virtual character and at least one first virtual character forming the same game camp, an information control is provided in the graphical user interface, and the information control displays at least one type of character information for referring to the first virtual character and / or the controlled virtual character; in response to a change in the game state of the game or a specified operation being performed on the information control, target display content corresponding to the information control is determined, wherein the game state includes: the scene state of the game and / or the character state of the controlled virtual character, and the target display content includes one or more types of character information; and the display information control is updated based on the target display content.
[0161] The types of character information include at least: occupation information, avatar information, level information, character status information, and communication tool information; in response to a change in the game state of the game, determining a first game state after the game state changes, determining one or more types of character information that matches the first game state; and determining the character information corresponding to the first virtual character and / or the controlled virtual character as the target display content of the information control.
[0162] Each type of character information includes at least one attribute information, and the character information corresponding to the first virtual character and / or the controlled virtual character is updated and displayed in the information control, wherein the character information matches the first game state and includes corresponding attribute information.
[0163] Each type of attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; a first state value is determined based on the scene state and character state corresponding to the first game state; based on the first state value and the attribute value corresponding to each type of attribute information, one or more types of character information matching the first game state, as well as the attribute information included in each type of character information, are determined; based on the first state value, one or more types of character information matching the first game state corresponding to the first virtual character and / or the controlled virtual character, as well as the attribute information included in each type of character information, are updated and displayed in the information control.
[0164] Scene states include: indoor state, home state, main city state, outdoor state, dungeon state, and player-versus-player PVP state; character states include: standing state, walking state, running state, and riding state.
[0165] From a preset state value lookup table, search for the first state value of the scene state and the character state corresponding to the first game state; wherein the first dimension of the state value lookup table includes multiple scene states, and the second dimension of the state value lookup table includes multiple character states; any scene state and any character state correspond to a state value.
[0166] On the first dimension, in order of state value from low to high, multiple scene states are arranged as follows: indoor state, home state, main city state, outdoor state, copy state, player vs. player PVP state; wherein, the state values of at least some scene states are different; on the second dimension, in order of state value from low to high, multiple character states are arranged as follows: standing state, walking state, running state, riding state; wherein, in at least one scene state, the state values of at least some of the multiple character states are different.
[0167] For each type of attribute information, if the attribute value of the attribute information is lower than or equal to the first state value, the attribute information is determined to be attribute information matching the first game state; for each type of character information, if the attribute information in the character information matches the first game state, the character information is determined to be character information matching the first game state.
[0168] The types of character information include at least: multiple categories of occupation information, avatar information, level information, character status information, and communication tool information; the attribute information of occupation information includes occupation icons; the attribute information of avatar information includes account avatars; the attribute information of level information includes account levels; the attribute information of character status information includes multiple categories of account names, health points, and mana points; and the communication tool information includes voice icons.
[0169] The attribute information is arranged in descending order of attribute value as follows: account avatar, account level, account name, voice icon, occupation icon, health value, and mana value.
[0170] In response to a deletion operation on the role information of the specified category in the information control, the role information of the specified category is deleted from the current display content of the information control to obtain the target display content.
[0171] The information control displays information identifiers corresponding to at least one type of character information arranged along a first dimension; the at least one type of character information includes one or more types of occupation information, avatar information, level information, character status information, and communication tool information; in response to a sliding operation on a display area of a specified category of character information, the specified category of character information is deleted from the current display content of the information control to obtain the target display content.
[0172] The current display content of the control information corresponds to a first state value, which is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; in response to a sliding operation acting on the information control, the first state value is reduced to obtain a second state value; the character information of the category to which the attribute information greater than the second state value belongs is determined as the specified category character information, and the specified category character information is deleted from the current display content of the information control to obtain the target display content.
[0173] The current display content of the control information corresponds to a first state value, which is determined based on the scene state and character state corresponding to the game state; the attribute value of each attribute information in the current display content of the information control is less than the first state value; in response to the display area adjustment operation of the information control, the first state value is adjusted to obtain a third state value; the character information of the category to which the attribute information less than or equal to the third state value belongs is determined as the target display content of the information control.
[0174] Arrange and display at least one type of character information in the target display content along the second dimension; if, in the at least one type of character information, the first type of character information and the second type of character information are separated by a specified distance, control the first type of character information or the second type of character information to move along the second dimension until the first type of character information and the second type of character information are adjacent.
[0175] In the above method, the display content of the information control changes adaptively with the game status or operation, so that the display content of the information control matches the game status or operation. There is no need to display the entire display content of the information control at any time, thereby reducing the display area of the information control on the game interface, reducing the obstruction of the game scene screen, making the game interface more concise, and giving the game a higher visual experience.
[0176] The computer program product of the information control display control method, device and electronic device provided in the embodiment of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment and will not be repeated here.
[0177] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems and devices can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0178] In addition, in the description of the embodiments of the present invention, unless otherwise expressly specified or limited, the terms "mounted," "connected," and "connected" should be understood in a broad sense. For example, they may refer to fixed connections, detachable connections, or integral connections; they may refer to mechanical connections or electrical connections; they may refer to direct connections or indirect connections through an intermediate medium; and they may refer to internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in the present invention based on the specific circumstances.
[0179] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0180] In the description of the present invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate and simplify the description of the present invention. They are not intended to indicate or imply that the devices or components referred to must have, be constructed, or operate in a specific orientation, and therefore should not be construed as limitations on the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0181] Finally, it should be noted that the above embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for controlling the display of information controls in a game, characterized in that: Providing a graphical user interface via a terminal device, wherein the graphical user interface displays at least a portion of a game scene, wherein the game scene includes a controlled virtual character, the method comprising: In response to the controlled virtual character and at least one first virtual character forming a same game camp, providing an information control in the graphical user interface, the information control displaying at least one type of character information for referring to the first virtual character and / or the controlled virtual character; In response to a change in the game state of the game or a specified operation being performed on the information control, target display content corresponding to the information control is determined, wherein the game state includes: a scene state of the game and / or a character state of the controlled virtual character, and the target display content includes one or more types of character information; each type of character information includes at least one attribute information, and each type of attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; The step of determining target display content corresponding to the information control in response to a change in the game state of the game includes: determining a first game state after the game state changes in response to the change in the game state, and determining a first state value based on a scene state and a character state corresponding to the first game state; determining one or more types of character information matching the first game state, and attribute information included in each type of character information, based on the first state value and attribute values corresponding to each type of attribute information; updating and displaying the information control based on the target display content; The step of updating and displaying the information control based on the target display content includes: Based on the first state value, one or more types of character information corresponding to the first virtual character and / or the controlled virtual character and matching the first game state, as well as attribute information included in each type of character information are updated and displayed in the information control.
2. The method according to claim 1, characterized in that The types of the character information include at least: occupation information, avatar information, level information, character status information, and communication tool information.
3. The method according to claim 1, characterized in that The scene states include: indoor state, home state, main city state, outdoor state, copy state, player-versus-player PVP state; the character states include: standing state, walking state, running state, and riding state.
4. The method according to claim 1, wherein The step of determining a first state value based on a scene state and a character state corresponding to the first game state includes: Searching a preset state value lookup table for first state values of the scene state and the character state corresponding to the first game state; The first dimension of the state value lookup table includes multiple scene states, and the second dimension of the state value lookup table includes multiple character states; any scene state and any character state correspond to one state value.
5. The method according to claim 4, characterized in that On the first dimension, the multiple scene states are arranged in descending order of state value as follows: indoor state, home state, main city state, outdoor state, dungeon state, and player-versus-player (PVP) state; wherein at least some of the scene states have different state values; In the second dimension, the multiple character states are arranged in order from low to high state values as follows: standing state, walking state, running state, and riding state; wherein, in at least one scene state, the state values of at least some of the multiple character states are different.
6. The method according to claim 1, characterized in that The step of determining one or more types of character information matching the first game state and the attribute information included in each type of character information based on the first state value and the attribute value corresponding to each type of attribute information includes: For each type of attribute information, if the attribute value of the attribute information is lower than or equal to the first state value, determine the attribute information as attribute information matching the first game state; For each type of character information, if the attribute information in the character information matches the first game state, the character information is determined to be character information that matches the first game state.
7. The method according to claim 6, characterized in that The types of character information include at least: occupation information, avatar information, level information, character status information, and communication tool information; The attribute information of the occupation information includes the occupation icon; the attribute information of the avatar information includes the account avatar; the attribute information of the level information includes the account level; the attribute information of the character status information includes multiple ones of the account name, health value and mana value; the communication tool information includes the voice icon.
8. The method according to claim 6, characterized in that In order of attribute value from low to high, the attribute information is arranged as follows: account avatar, account level, account name, voice icon, occupation icon, health value, and mana value.
9. The method according to claim 1, characterized in that The step of determining target display content of the information control in response to a specified operation being performed on the information control includes: In response to a deletion operation on the role information of a specified category in the information control, the role information of the specified category is deleted from the current display content of the information control to obtain target display content.
10. The method according to claim 9, characterized in that The information control is arranged along the first dimension to display information identifiers corresponding to the at least one type of character information; the at least one type of character information includes one or more types of occupation information, avatar information, level information, character status information, and communication tool information; The step of responding to a deletion operation on the designated category role information in the information control, deleting the designated category role information from the current display content of the information control to obtain target display content includes: In response to a sliding operation on the designated category character information display area, the designated category character information is deleted from current display content of the information control to obtain target display content.
11. The method according to claim 9, characterized in that The currently displayed content of the information control corresponds to a first state value, the first state value being determined based on a scene state and a character state corresponding to a game state; the attribute value of each attribute information in the currently displayed content of the information control is less than the first state value; The step of responding to a deletion operation on the designated category role information in the information control, deleting the designated category role information from the current display content of the information control to obtain target display content includes: In response to a sliding operation on the information control, reducing the first state value to obtain a second state value; The role information of the category to which the attribute information having a value greater than the second state belongs is determined as the designated category role information, and the designated category role information is deleted from the current display content of the information control to obtain the target display content.
12. The method according to claim 1, characterized in that The currently displayed content of the information control corresponds to a first state value, the first state value being determined based on a scene state and a character state corresponding to a game state; the attribute value of each attribute information in the currently displayed content of the information control is less than the first state value; The step of determining target display content of the information control in response to a specified operation being performed on the information control includes: In response to a display area adjustment operation on the information control, adjusting the first state value to obtain a third state value; The character information of the category to which the attribute information having a value less than or equal to the third state belongs is determined as the target display content of the information control.
13. The method according to claim 1, wherein The step of updating and displaying the information control based on the target display content includes: Arrange and display at least one type of character information in the target display content along a second dimension; if, in the at least one type of character information, first type of character information and second type of character information are separated by a specified distance, control the first type of character information or the second type of character information to move along the second dimension until the first type of character information and the second type of character information are adjacent.
14. A device for controlling information control display in a game, characterized in that: A graphical user interface is provided through a terminal device, wherein the graphical user interface displays at least a portion of a game scene, wherein the game scene includes a controlled virtual character, and the apparatus includes: a control providing module, configured to provide, in response to the controlled virtual character and at least one first virtual character forming a same game camp, an information control on the graphical user interface, wherein the information control displays at least one type of character information for referring to the first virtual character and / or the controlled virtual character; a content determination module for determining target display content corresponding to the information control in response to a change in the game state of the game or a specified operation being performed on the information control, wherein the game state includes: a scene state of the game and / or a character state of the controlled virtual character, and the target display content includes one or more types of character information; each type of character information includes at least one attribute information, and each type of attribute information is preset with a corresponding attribute value; each game state corresponds to a scene state and a character state, and different scene states and character states are preset with corresponding state values; The content determination module is further configured to: in response to a change in the game state of the game, determine a first game state after the game state has changed, determine a first state value based on a scene state and a character state corresponding to the first game state; and determine one or more types of character information matching the first game state, and attribute information included in each type of character information, based on the first state value and attribute values corresponding to each type of attribute information; A control updating module, configured to update and display the information control based on the target display content; The control update module is also used to: based on the first state value, update and display in the information control one or more types of character information corresponding to the first virtual character and / or the controlled virtual character that match the first game state, as well as the attribute information included in each type of character information.
15. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the information control display control method in the game according to any one of claims 1 to 13.
16. A machine-readable storage medium, characterized in that The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the information control display control method in a game according to any one of claims 1 to 13.
Citation Information
Patent Citations
Information processing method and device, electronic equipment and storage medium
CN108536344A
Reminding method for game battle watching and related equipment
CN113975824A
Method for creating and executing action resource, and electronic device
US20220334841A1