Object prompting method, device, computer equipment and storage medium
By overlaying the attribute information of virtual objects on the team display control, the cumbersome interface switching problem caused by the small screen of the mobile terminal is solved, reducing the waste of terminal power and processing resources, and improving operation efficiency.
Patent Information
- Application Number
- CN202210404475.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-24
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-09-24
AI Technical Summary
In applications that support virtual scenes, the screen of the mobile terminal is small, resulting in cumbersome interface switching operations for the teaming function, resulting in waste of terminal power and processing resources.
By overlaid object prompt identifiers that display the attribute information of virtual objects on the team display control, users can view the information of the team interface in the target scene interface, reducing interface switching operations.
It effectively reduces the waste of terminal power and processing resources caused by frequent interface switching operations, and improves the efficiency of user operations and terminal performance.
Smart Images

Figure CN114949854B_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent with application number 202011017599.1 filed on September 24, 2020 and invention name “Object prompting method, device, computer equipment and storage medium”. Technical Field
[0002] The present application relates to the field of network technology, and in particular to an object prompting method, device, computer equipment and storage medium. Background Art
[0003] In applications that support virtual scenes, the team function is a commonly used function. Through the team function, multiple user accounts can form a team and control virtual objects to cooperate in related activities in the virtual scene.
[0004] In the related art, in virtual scenes developed for terminals with smaller screens such as mobile terminals, the team sub-interface usually shares a display area with other sub-interfaces. When the user wants to check the team status, he needs to trigger the display of the team sub-interface through the team display control to obtain the team status.
[0005] However, in the above method, when the user needs to view information on other interfaces at the same time, the interface needs to be switched back and forth, and frequent interface switching operations will cause the user operation to be more cumbersome, thereby causing a waste of power and processing resources of the terminal. Summary of the invention
[0006] The embodiment of the present application provides an object prompt method, apparatus, computer device and storage medium, which can reduce the waste of terminal power and processing resources caused by frequent interface switching operations. The technical solution is as follows:
[0007] In one aspect, a method for object prompting is provided, the method comprising:
[0008] Displaying a target scene interface, wherein the target scene interface includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team;
[0009] Based on the attribute information of each virtual object, generating an object prompt identifier corresponding to each virtual object;
[0010] The object prompt identifiers corresponding to the respective virtual objects are superimposed and displayed on the team display control.
[0011] In another aspect, an object prompting method is provided, the method comprising:
[0012] Displaying a target scene interface, wherein the target scene interface includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team;
[0013] In response to the target virtual object existing in the target team, an object prompt identifier corresponding to the target virtual object is superimposed and displayed on the team display control, where the object prompt identifier is generated based on the attribute information of the target virtual object.
[0014] In another aspect, an object prompting device is provided, the device comprising:
[0015] An interface display module, used to display a target scene interface, wherein the target scene interface includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team;
[0016] An identification generation module, used to generate an object prompt identification corresponding to each virtual object based on the attribute information of each virtual object;
[0017] The identification display module is used to superimpose and display the object prompt identification corresponding to each virtual object on the team display control.
[0018] In a possible implementation, the identifier generation module includes:
[0019] A display attribute determination submodule, configured to determine the display attribute of the object prompt identifier corresponding to each virtual object according to a mapping relationship between the attribute information and the display attribute of the object prompt identifier;
[0020] The identifier generation submodule is used to generate the object prompt identifier corresponding to each virtual object based on the display attribute of the object prompt identifier corresponding to each virtual object.
[0021] In a possible implementation manner, the display attribute of the object prompt marker includes: at least one of a color of the object prompt marker, a shape of the object prompt marker, a pattern included in the object prompt marker, and a size of the object prompt marker.
[0022] In a possible implementation, the attribute information includes at least one of: an object type of the corresponding virtual object, a role type of the corresponding virtual object in the target team, a specified type attribute value of the corresponding virtual object, and a gain status of the corresponding virtual object.
[0023] In a possible implementation, the team display control is marked with an identification display position, and the identification display position corresponds one-to-one to the display position of the attribute information of each virtual object included in the team sub-interface;
[0024] The identification display module comprises:
[0025] A first position acquisition submodule is used to acquire a first display position, where the first display position is a display position of the attribute information of a first target virtual object in the team formation sub-interface; the first target virtual object is any one of the virtual objects;
[0026] A second position acquisition submodule, configured to acquire a second display position based on the first display position, wherein the second display position is the identification display position corresponding to the first display position;
[0027] The identification display submodule is used to display the object prompt identification of the first target virtual object at the second display position.
[0028] In a possible implementation, the team formation sub-interface includes n display positions of the attribute information, each display position of the attribute information has a corresponding first type position number; the team formation display control is marked with n identification display positions, each identification display position has a corresponding second type position number, wherein the first type position number corresponds to the second type position number one by one, and n is a positive integer;
[0029] The second position acquisition submodule includes:
[0030] A number obtaining unit, used to obtain a first type position number of the first display position;
[0031] A second position acquiring unit is configured to acquire the second display position based on a first type position number of the first display position, wherein the second type position number of the second display position corresponds to the first type position number of the first display position.
[0032] In a possible implementation manner, the device further includes:
[0033] The identification removing module is used to remove the object prompt identification of the first target virtual object from the team display control in response to the first target virtual object leaving the target team.
[0034] In a possible implementation, the team display control is marked with an identification display position, and the identification display position is fixedly set based on the attribute information of the virtual object;
[0035] The identification display module comprises:
[0036] A third position acquisition submodule is used to acquire, according to the attribute information of the second target virtual object, the identifier display position corresponding to the object prompt identifier of the second target virtual object as the third display position; the second target virtual object is any one of the virtual objects, and the target object prompt identifier is an object prompt identifier generated based on the attribute information of the second target virtual object;
[0037] The identification display submodule is used to display the object prompt identification of the second target virtual object at the third display position.
[0038] In a possible implementation, the target scene interface includes at least one other display control except the team display control, and a display area of a display sub-interface corresponding to the other display control overlaps with a display area of the team sub-interface corresponding to the team display control;
[0039] The team display control does not overlap with the other display controls, and the team display control does not overlap with the sub-interface display area, and the sub-interface display area includes a display area corresponding to the team sub-interface and a display area of the display sub-interface corresponding to the other display controls.
[0040] In another aspect, an object prompting device is provided, the device comprising:
[0041] An interface display module, used to display a target scene interface, wherein the target scene interface includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team;
[0042] The identification display module is used to superimpose and display an object prompt identification corresponding to the target virtual object on the team display control in response to the target virtual object existing in the target team, wherein the object prompt identification is generated based on the attribute information of the target virtual object.
[0043] In a possible implementation, the target scene interface includes at least one other display control except the team display control, and a display area of a display sub-interface corresponding to the other display control overlaps with a display area of the team sub-interface corresponding to the team display control; the device further includes:
[0044] A first display module, configured to display the team sub-interface in a display area corresponding to the team display control in response to receiving a touch operation based on the team display control;
[0045] A second display module, configured to display a display sub-interface corresponding to a first display control in a display area corresponding to the first display control in response to receiving a touch operation based on the first display control, wherein the first display control is any one of at least one of the other display controls;
[0046] Among them, the team display control does not overlap with the sub-interface display area, and the sub-interface display area includes the display area corresponding to the team sub-interface and the display area of the display sub-interface corresponding to the other display controls.
[0047] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the above-mentioned object prompt method.
[0048] On the other hand, a computer-readable storage medium is provided, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, the at least one program, the code set or instruction set is loaded and executed by a processor to implement the above-mentioned object prompt method.
[0049] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the object prompt method provided in the above various optional implementations.
[0050] The technical solution provided by this application may have the following beneficial effects:
[0051] By superimposing an object prompt identifier indicating the attribute information of each virtual object in the team sub-interface on the team display control used to trigger the team sub-interface, the team information in the team sub-interface can be displayed on the team display control, reducing the interface switching operations required to obtain the team information in the team sub-interface, thereby reducing the waste of terminal power and processing resources due to frequent interface switching operations.
[0052] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0054] Figure 1 A structural block diagram of a computer system provided by an exemplary embodiment of the present application is shown;
[0055] Figure 2 A schematic diagram of an object prompting system provided by an exemplary embodiment of the present application is shown;
[0056] Figure 3 A schematic diagram showing an object prompt in a related art provided by an exemplary embodiment of the present application is shown;
[0057] Figure 4 A flowchart of an object prompting method provided by an exemplary embodiment of the present application is shown;
[0058] Figure 5 A flowchart of an object prompting method provided by an exemplary embodiment of the present application is shown;
[0059] Figure 6 A schematic diagram of a target scene interface shown in an exemplary embodiment of the present application is shown;
[0060] Figure 7 A schematic diagram of a target scene interface shown in an exemplary embodiment of the present application is shown;
[0061] Figure 8 A schematic diagram of an object prompt identifier shown in an exemplary embodiment of the present application is shown;
[0062] Fig. 9 A schematic diagram of an object prompt identifier shown in an exemplary embodiment of the present application is shown;
[0063] Fig.10 A schematic diagram showing a logo display position shown in an exemplary embodiment of the present application is shown;
[0064] Fig.11 A flowchart showing a corresponding relationship between a display position of positioning attribute information and a display position of a logo is shown in an exemplary embodiment of the present application;
[0065] Fig.12 A flowchart showing a corresponding relationship between a display position of positioning attribute information and a display position of a logo is shown in an exemplary embodiment of the present application;
[0066] Fig.13 A schematic diagram of a target scene interface shown in an exemplary embodiment of the present application is shown;
[0067] Fig.14A flowchart of determining a filling state of a logo display position according to an exemplary embodiment of the present application is shown;
[0068] Fig.15 A flowchart of an object prompting method provided by an exemplary embodiment of the present application is shown;
[0069] Fig.16 A block diagram of an object prompting device provided by an exemplary embodiment of the present application is shown;
[0070] Fig.17 A block diagram of an object prompting device provided by an exemplary embodiment of the present application is shown;
[0071] Fig.18 is a structural block diagram of a computer device according to an exemplary embodiment;
[0072] Fig.19 It is a structural block diagram of a computer device according to an exemplary embodiment. DETAILED DESCRIPTION
[0073] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0074] It should be understood that the "several" mentioned in this article refers to one or more, and "multiple" refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0075] The embodiment of the present application provides an object prompt method, which can improve the effect of object prompting using a team display control. For ease of understanding, several terms involved in the present application are explained below.
[0076] 1) Virtual scene
[0077] A virtual scene refers to a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulated environment scene of the real world, a semi-simulated and semi-fictitious three-dimensional environment scene, or a purely fictitious three-dimensional environment scene. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, and a three-dimensional virtual scene. The following embodiments are illustrated by taking the virtual scene as a three-dimensional virtual scene, but are not limited to this. Optionally, the virtual scene is also used for a virtual scene battle between at least two virtual characters. Optionally, the virtual scene has virtual resources that can be used by at least two virtual characters. Optionally, the virtual scene includes a square map of the virtual world, the square map includes a symmetrical lower left corner area and an upper right corner area, and virtual characters belonging to two hostile camps occupy one of the areas respectively, and destroy the target building / stronghold / base / crystal deep in the opponent's area as the victory goal.
[0078] 2) Virtual Objects
[0079] A virtual object refers to an movable object in a virtual scene. The movable object may be at least one of a virtual person, a virtual animal, and a cartoon character. Optionally, when the virtual scene is a three-dimensional virtual scene, the virtual object may be a three-dimensional stereo model. Each virtual object has its own shape and volume in the three-dimensional virtual scene and occupies a portion of the space in the three-dimensional virtual scene. Optionally, the virtual character is a three-dimensional character constructed based on three-dimensional human skeleton technology, and the virtual character achieves different external images by wearing different skins. In some implementations, the virtual character may also be implemented using a 2.5-dimensional or 2-dimensional model, which is not limited in the embodiments of the present application.
[0080] Figure 1 The structure block diagram of a computer system provided by an exemplary embodiment of the present application is shown. The computer system 100 includes: a first terminal 110, a server cluster 120, and a second terminal 130.
[0081] The first terminal 110 is installed and runs a client 111 that supports a virtual scene. The client 111 can be a multiplayer online battle program. When the first terminal runs the client 111, the user interface of the client 111 is displayed on the screen of the first terminal 110. The client can be any one of an MMORPG game (Massive Multiplayer Online Role-Playing Game), a MOBA (Multiplayer Online Battle Arena), a battle royale shooting game, and an SLG game (Simulation Game). In this embodiment, the client is an MMORPG game as an example. The first terminal 110 is a terminal used by the first user 101. The first user 101 uses the first terminal 110 to control the first virtual character in the virtual scene to perform activities. The first virtual character can be called the master virtual character of the first user 101. The activities of the first virtual character include but are not limited to: adjusting body posture, crawling, walking, running, riding, flying, jumping, driving, picking up, shooting, attacking, and throwing. Illustratively, the first virtual character is a first virtual person, such as a simulation character or an animation character.
[0082] The second terminal 130 is installed and runs a client 131 that supports a virtual scene, and the client 131 can be a multiplayer online battle program. When the second terminal 130 runs the client 131, the user interface of the client 131 is displayed on the screen of the second terminal 130. The client can be any one of an MMORPG game, a MOBA game, a battle royale shooting game, and an SLG game. In this embodiment, the client is an MMORPG game as an example. The second terminal 130 is a terminal used by the second user 102. The second user 102 uses the second terminal 130 to control the second virtual character in the virtual scene to carry out activities. The second virtual character can be called the main virtual character of the second user 102. Schematically, the second virtual character is a second virtual character, such as a simulated character or an anime character.
[0083] Optionally, the first virtual character and the second virtual character are in the same virtual scene. Optionally, the first virtual character and the second virtual character may belong to the same camp, the same team, the same organization, have a friend relationship, or have temporary communication permissions. Optionally, the first virtual character and the second virtual character may belong to different camps, different teams, different organizations, or have a hostile relationship.
[0084] Optionally, the clients installed on the first terminal 110 and the second terminal 130 are the same, or the clients installed on the two terminals are the same type of clients on different operating system platforms (Android or IOS). The first terminal 110 may refer to one of a plurality of terminals, and the second terminal 130 may refer to another of a plurality of terminals. This embodiment is only illustrated by taking the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 are the same or different, and the device types include: at least one of a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3) player, an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) player, a notebook computer, a laptop portable computer, and a desktop computer.
[0085] Figure 1 Only two terminals are shown, but in different embodiments, there are multiple other terminals 140 that can access the server cluster 120. Optionally, there are one or more terminals 140 corresponding to the developer, and a development and editing platform of the client of the virtual scene is installed on the terminal 140. The developer can edit and update the client on the terminal 140, and transmit the updated client installation package to the server cluster 120 through a wired or wireless network. The first terminal 110 and the second terminal 130 can download the client installation package from the server cluster 120 to update the client.
[0086] The first terminal 110 , the second terminal 130 , and other terminals 140 are connected to the server cluster 120 via a wireless network or a wired network.
[0087] The server cluster 120 includes at least one of an independent physical server, multiple independent physical servers, a cloud server providing cloud computing services, a cloud computing platform, and a virtualization center. The server cluster 120 is used to provide background services for clients that support three-dimensional virtual scenes. Optionally, the server cluster 120 undertakes the main computing work and the terminal undertakes the secondary computing work; or, the server cluster 120 undertakes the secondary computing work and the terminal undertakes the main computing work; or, the server cluster 120 and the terminal adopt a distributed computing architecture for collaborative computing.
[0088] In an illustrative example, the server cluster 120 includes a server 121 and a server 126, and the server 121 includes a processor 122, a user account database 123, a battle service module 124, and a user-oriented input / output interface (I / O interface) 125. Among them, the processor 122 is used to load the instructions stored in the server 121, and process the data in the user account database 123 and the battle service module 124; the user account database 123 is used to store the data of the user account used by the first terminal 110, the second terminal 130 and other terminals 140, such as the user account's avatar, the user account's nickname, the user account's combat power index, and the service area where the user account is located; the battle service module 124 is used to provide multiple battle rooms for users to fight, such as 1V1 battle, 3V3 battle, 5V5 battle, etc.; the user-oriented I / O interface 125 is used to establish communication and exchange data with the first terminal 110 and / or the second terminal 130 through a wireless network or a wired network. Optionally, an intelligent signal module 127 is provided in the server 126, and the intelligent signal module 127 is used to implement the object prompt method provided in the following embodiments.
[0089] Figure 2 A schematic diagram of an object prompt system provided by an exemplary embodiment of the present application is shown. Figure 2 As shown, the object prompt system 20 includes a sending end 21 and a receiving end 22. The sending end may include an acquisition module 211 and a sending module 212. The acquisition module 211 is used to acquire the team data of the first virtual object corresponding to the first terminal, and the sending module 212 is used to establish a data synchronization transmission channel with the receiving end 22. The receiving end 22 includes a receiving module 221 and a parsing module 222. The receiving module 221 is used to establish a data synchronization transmission channel with the sending end 21, and the parsing module 222 is used to parse the team data of the first virtual object acquired from the sending end to synchronously display the team information of the first virtual object.
[0090] In a virtual scene where a team is required, victory is achieved through cooperation between teammates, and the team formation process requires different players to join the team separately. Therefore, it often takes a certain amount of time to form a team. During this period of time, the user can switch out of the team formation sub-interface and enter other sub-interfaces to confirm other information or perform other operations. As a result, the team formation situation in the team formation sub-interface cannot be accurately obtained. In the related art, the team formation situation is generally reminded by displaying the number of people in the current team and the maximum number of players that the team can accommodate in the team display control used to trigger the team formation sub-interface. Figure 3 FIG. 1 is a schematic diagram showing an object prompt in a related art provided by an exemplary embodiment of the present application. Figure 3As shown, the schematic diagram includes a team display control 310 and a task display control 320. Different controls correspond to different display sub-interfaces. In the team display control 310, the number of people in the current team is displayed as 1, and the upper limit of the number of people in the team is 8, indicating that there is only one player in the current team, that is, a virtual object controlled by the user, so as to achieve the purpose of prompting the user about the team situation. However, in the above-mentioned team display control, only the number of players in the team is displayed, and more team information in the team sub-interface cannot be provided. If the user wants to obtain more team information, he needs to re-enter the team sub-interface to obtain it, which makes the effect of using the team display control for object prompts poor, and further causes the user to switch back and forth between different sub-interfaces during the team formation process to determine the team information, resulting in repeated rendering of the interface, thereby causing a waste of terminal resources.
[0091] Figure 4 A flowchart of an object prompting method provided by an exemplary embodiment of the present application is shown. The object prompting method can be executed by a terminal, wherein the terminal can be Figure 1 The terminal shown. Figure 4 As shown, the object prompt method includes the following steps:
[0092] Step 410, displaying a target scene interface, which includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team.
[0093] In one possible implementation, the team display control is different from the display area of the team sub-interface, that is, when the team sub-interface is superimposed and displayed on the target scene interface, the team display control will not be covered by the team sub-interface, and the user can observe the team sub-interface and the team display control in the target scene interface at the same time.
[0094] In one possible implementation, the attribute information of each virtual object displayed in the team sub-interface is real-time attribute information of each virtual object. The first terminal displays the attribute information of the virtual objects corresponding to each terminal in the same team in the team sub-interface based on the attribute information of the virtual objects in the first terminal obtained and the attribute information of the virtual objects in the second terminal received from the server.
[0095] Among them, the process of the first terminal obtaining the attribute information of the virtual object in the second terminal is implemented as follows: the second terminal obtains the attribute information of the corresponding virtual object in real time and sends it to the first terminal through the server. After the first terminal receives the attribute information of the virtual object corresponding to the second terminal, it updates the attribute information of the virtual object corresponding to the second terminal in real time.
[0096] Step 420: Generate an object prompt identifier corresponding to each virtual object based on the attribute information of each virtual object.
[0097] In a virtual scene, there are differences between the attribute information of different virtual objects. The terminal can generate different object prompt identifiers based on the attribute information of different virtual objects to distinguish the virtual objects. The same virtual object can have multiple attribute information, and the object prompt identifier corresponding to the virtual object is used to reflect at least one attribute information of the virtual object.
[0098] Step 430: The object prompt identifiers corresponding to the virtual objects are superimposed and displayed on the team display control.
[0099] In one possible implementation, an object prompt identifier display area is preset on the team display control, and the object prompt identifier is restricted to be displayed within the object prompt identifier display area, so that the object prompt identifier can provide prompts for the attribute information of the virtual objects in the team sub-interface content without affecting the external information display of the team display control.
[0100] To summarize, the object prompt method provided in the embodiment of the present application, by superimposing an object prompt identifier indicating the attribute information of each virtual object in the team sub-interface on the team display control used to trigger the team sub-interface, enables the team information in the team sub-interface to be displayed on the team display control, reduces the interface switching operations required to obtain the team information in the team sub-interface, and thus reduces the waste of terminal power and processing resources due to frequent interface switching operations.
[0101] Figure 5 A flowchart of an object prompting method provided by an exemplary embodiment of the present application is shown. The object prompting method can be executed by a terminal, wherein the terminal can be Figure 1 The terminal shown. Figure 5 As shown, the object prompt method includes the following steps:
[0102] Step 510, displaying a target scene interface, which includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team.
[0103] In a possible implementation, the attribute information of the virtual object includes: at least one of the object type of the corresponding virtual object, the role type of the corresponding virtual object in the target team, the specified type attribute value of the corresponding virtual object, and the gain status of the corresponding virtual object.
[0104] Among them, the object type of the virtual object can be the game identity of the virtual object set by the developer in the game application, such as the warrior, mage, shooter, thief or assassin, treatment or auxiliary, etc. in the game application, among which the warrior is generally responsible for absorbing damage in the team; the mage is mainly responsible for long-range output in the team; the shooter is mainly responsible for long-range physical attack in the team, with high-intensity shooting and high-intensity damage; the thief or assassin is generally responsible for melee explosive physical output in the team, with high single output and high critical probability, and is the core output of a team; treatment or assistance is a team's logistics subsidy, responsible for adding buffs to teammates, and also has control and control skills, and may also have blood recovery functions. In different game applications, the naming of game identities will be different. This application does not limit the naming of game identities, that is, the object type of virtual objects. The type of responsibilities of virtual objects in the target team is divided based on the position of the virtual object in the target team and the role it plays. The type of responsibilities of virtual objects in the target team may include output, tank, auxiliary, etc. The specified type attribute value of the virtual object may include the life value, physical value, defense value, attack value, etc. of the virtual object. The gain state of a virtual object refers to a state in which a buff or debuff applied to a game character causes the attribute value or ability value of a specified type of the game character to continuously increase or decrease. The gain state generally decreases over time.
[0105] In a possible implementation, the target scene interface includes at least one other display control except the team display control, and the display area of the display sub-interface corresponding to the other display control overlaps with the display area of the team sub-interface corresponding to the team display control;
[0106] The team display control does not overlap with other display controls, and the team display control does not overlap with the sub-interface display area. The sub-interface display area includes the display area corresponding to the team sub-interface and the display area of the display sub-interface corresponding to other display controls.
[0107] In one possible implementation, the display area corresponding to the team display control partially overlaps with the display areas corresponding to other display controls. When the display sub-interfaces corresponding to other display controls are displayed, the display of the fire pit team sub-interface is blocked, thereby affecting the user's acquisition of the team information in the team sub-interface.
[0108] Alternatively, in a possible implementation, the display area corresponding to the team display control completely overlaps with the display area corresponding to other display controls. Figure 3For the task display control shown, in order to save interface display space, the display sub-interfaces corresponding to other display controls and the team sub-interface corresponding to the team display control share the same sub-interface display area, that is, the terminal displays the display sub-interfaces corresponding to different controls in the same sub-interface display area, and when displaying, the team display control does not overlap with other display controls, and the team display control does not overlap with the sub-interface display area, to ensure that when the sub-interface is displayed in the sub-interface display area, the team display control is always displayed within the user's field of view. Figure 6 A schematic diagram of a target scene interface shown in an exemplary embodiment of the present application is shown in FIG. Figure 6 As shown, the target scene interface includes a task display control 610 and a team display control 620, and the two controls correspond to the same sub-interface display area 630. When the team display control 620 is in a selected state, the team sub-interface is displayed in the sub-interface display area; Figure 7 A schematic diagram of a target scene interface shown in an exemplary embodiment of the present application is shown in FIG. Figure 7 As shown, when the task display control 610 is in the selected state, the task display sub-interface is displayed in the sub-interface display area. During the change of the display sub-interface displayed in the sub-interface display area, the team display control is always within the user's field of vision.
[0109] Step 520: Determine the display attributes of the object prompt identifier corresponding to each virtual object according to the mapping relationship between the attribute information and the display attributes of the object prompt identifier.
[0110] In a possible implementation manner, the display attribute of the object prompt marker includes: at least one of the color of the object prompt marker, the shape of the object prompt marker, the pattern included in the object prompt marker, and the size of the object prompt marker.
[0111] In a possible implementation, based on the settings of relevant personnel, different display attributes of the object prompt identifier can be set corresponding to different attribute information of the virtual object. For example, taking the attribute information of the virtual object as the role type of the corresponding virtual object in the target team, i.e., tank, output and auxiliary, and the display attribute of the object prompt identifier as the color of the object prompt identifier as an example, please refer to Table 1, which shows the mapping relationship between the attribute information of the virtual object and the display attribute of the object prompt identifier:
[0112] Table 1
[0113]
[0114]
[0115] It can be seen from Table 1 that when the attribute information of the virtual object is tank, the display attribute of the corresponding object prompt mark is blue; when the attribute information of the virtual object is auxiliary, the display attribute of the corresponding object prompt mark is green; when the attribute information of the virtual object is output, the display attribute of the corresponding object prompt mark is red.
[0116] Among them, the display attributes of the above-mentioned object prompt logo can be combined and used in combination at will; taking the display attributes of the object prompt logo as the color and shape of the object prompt logo as an example, when the attribute information of the virtual object is tank, the corresponding display attribute of the object prompt logo is a blue rectangle; when the attribute information of the virtual object is auxiliary, the corresponding display attribute of the object prompt logo is a green triangle; when the attribute information of the virtual object is output, the corresponding display attribute of the object prompt logo is a red circle.
[0117] In one possible implementation, a correspondence between two or more of the attribute information of the virtual object and the display attributes of the object prompt identifier can be established. For example, a mapping relationship between the object type of the virtual object and the life value of the virtual object and the pattern contained in the object prompt identifier and the size of the object prompt identifier can be established based on the object type of the virtual object and the life value of the virtual object. The pattern contained in the object prompt identifier corresponds to the object type of the virtual object, and the size of the object prompt identifier corresponds to the life value of the virtual object.
[0118] It should be noted that the above description of the mapping relationship between the attribute information of the virtual object and the display attributes of the object prompt identifier is only exemplary. This application does not limit the mapping relationship between the two, and this application does not list other possibilities.
[0119] Step 530: Generate an object prompt identifier corresponding to each virtual object based on the display attributes of the object prompt identifier corresponding to each virtual object.
[0120] Taking the generation of an object prompt identifier based on the mapping relationship between the role type of the virtual object in the target team and the pattern included in the object prompt identifier as an example, Figure 8 FIG. 1 shows a schematic diagram of an object prompt mark shown in an exemplary embodiment of the present application. In a possible implementation, as shown in FIG. Figure 8As shown, the attribute information of each virtual object in the team sub-interface is ranked according to its role type in the target team to facilitate users to quickly view the role type of the virtual object. The attribute information of the virtual object with a tank role is displayed in the first row, i.e., area 810; the attribute information of the virtual object with an auxiliary role is displayed in the second row, i.e., area 820; the attribute information of the virtual object with an output role is displayed in the third and fourth rows, i.e., area 830. According to the role type of each virtual object, an object prompt identifier containing a corresponding pattern is generated, wherein the object prompt identifier 840 containing the first pattern corresponds to the tank role, the object prompt identifier 850 containing the second pattern corresponds to the auxiliary role, and the object prompt identifier 860 containing the third pattern corresponds to the output role.
[0121] In a possible implementation, the attribute information of each virtual object in the team sub-interface may also be ranked according to the order in which the virtual objects join the target team, without limiting the display position of the attribute information of each virtual object in the team formation sub-interface.
[0122] It should be noted that the above mapping relationship between the responsibility type of the virtual object and the pattern included in the object prompt mark is only for illustration. Figure 8 The pattern types in the object prompt logo shown are also exemplary and are not limited in this application.
[0123] Taking the generation of an object prompt mark based on the mapping relationship between the object type of the virtual object and the life value of the virtual object and the pattern contained in the object prompt mark and the size of the object prompt mark as an example, Fig. 9 A schematic diagram of an object prompt mark shown in an exemplary embodiment of the present application is shown. Fig. 9 As shown, the team sub-interface displays the role type of each virtual object in the target team and the specified type attribute value of each virtual object. Fig. 9 The specified type attribute value is the health point (HP) of the virtual object. The pattern contained in the object prompt mark is determined according to the role type of each virtual object in the team, and the size of the object prompt mark is determined according to the life value of each virtual object. Taking virtual object 1 in the team sub-interface as an example, the role type of virtual object 1 in the team is a tank, and the life value of virtual object 1 is half of its maximum life value. The pattern contained in the corresponding object prompt mark 910 is the first pattern, and the size of the object prompt mark is half of the maximum size of the preset object prompt mark, which is used to reflect the role type of virtual object A and the current life value.
[0124] In one possible case, when the display attribute of the object prompt marker is the color of the object prompt marker, the specified type attribute value of the virtual object or the gain state of the virtual object can be represented by changing the saturation of the color of the object prompt marker. Taking the specified type attribute value of the virtual object as an example, the higher the specified type attribute value of the virtual object, the higher the color saturation of the object prompt marker, and the lower the specified type attribute value of the virtual object, the lower the color saturation of the object prompt marker.
[0125] Step 540: The object prompt identifiers corresponding to the virtual objects are superimposed and displayed on the team display control.
[0126] In a possible implementation, the team display control is marked with an identification display position, and the identification display position corresponds one-to-one to the display position of the attribute information of each virtual object included in the team sub-interface.
[0127] That is to say, the team display control is marked with an identification display position in a preset form, and the identification display position is generated by the terminal based on the display position of the attribute information of each virtual object in the team sub-interface. For example, in the team sub-interface, the role type of the virtual objects displayed in the first row is a tank, then the role type of the virtual objects displayed in the first row of the identification display position is also a tank.
[0128] In this case, the object prompt identifier corresponding to each virtual object is displayed on the team display control as follows:
[0129] Acquire a first display position, where the first display position is a display position of attribute information of a first target virtual object in the team formation sub-interface; the first target virtual object is any one of the virtual objects;
[0130] Based on the first display position, acquiring a second display position, the second display position being a logo display position corresponding to the first display position;
[0131] The object prompt mark of the first target virtual object is displayed at the second display position.
[0132] Fig.10 A schematic diagram showing a logo display position shown in an exemplary embodiment of the present application is shown in FIG. Fig.10As shown, when the object prompt mark is not displayed at the mark display position, for example, the mark display position 1010 is displayed as an unfilled rectangular outline, which is used to indicate that the attribute information of the virtual object does not exist at the display position of the attribute information of the virtual object in the team formation sub-interface, that is, the target team has not added a virtual object with corresponding attribute information. When a virtual object is added to the target team, that is, the attribute information of the virtual object is displayed in the team formation sub-interface, for example, an object prompt mark is displayed at the mark display position 1020, which is filled and displays an object prompt mark with corresponding display attributes.
[0133] In a possible implementation, the team formation sub-interface includes n display positions of attribute information, each display position of attribute information has a corresponding first type position number; the team formation display control is marked with n identification display positions, each identification display position has a corresponding second type position number, wherein the first type position number corresponds to the second type position number one by one, and n is a positive integer;
[0134] Based on the first display position, obtaining a second display position includes:
[0135] Get the first type position number of the first display position;
[0136] Based on the first type position number of the first display position, a second display position is acquired, the second type position number of the second display position corresponding to the first type position number of the first display position.
[0137] In order to accurately obtain the correspondence between the display position of the attribute information of the virtual object in the team formation sub-interface and the identification display position, the two are numbered one by one. In one possible implementation, the first type position number and the corresponding second type position number differ by a specified value. For example, the first type position number is 1, and the corresponding second type position number is 11; or, in another possible implementation, the first type position number is the same as the second type position number, that is, the first type position number is 1, and the corresponding second type position number is also 1. This application takes the example of the first type position number being the same as the corresponding second type position number as an example, please refer to Fig.11 , which shows a flowchart of the corresponding relationship between the display position of the positioning attribute information and the display position of the logo shown in an exemplary embodiment of the present application, such as Fig.11 As shown, the process is implemented as:
[0138] S1101, reconstructing to set the display position of the attribute information of the virtual object to a fixed position in the team formation sub-interface.
[0139] S1102, reconstructing to set the identification display position of the corresponding attribute information at a fixed position of the team display control.
[0140] S1103, the program numbers the display positions of the attribute information 1, 2, 3...n.
[0141] S1104, the program numbers the logo display positions accordingly 1, 2, 3...n.
[0142] That is to say, when the program numbers the display positions of the attribute information, it numbers them from left to right and from top to bottom. When numbering the display positions of the logos, they should also be numbered in the same order.
[0143] Among them, the reconstruction is used to make a UI (User Interface) canvas. When making the UI canvas, the display position of the virtual object is matched with the display position of the logo and named. When the program is executed, these display positions are matched and grouped. In other words, when making the UI canvas, it has been determined that each position corresponds to the attribute information of the virtual object, and the program only needs to number it accordingly.
[0144] Or, in another possible implementation, see Fig.12 , which shows a flowchart of the corresponding relationship between the display position of the positioning attribute information and the display position of the logo shown in an exemplary embodiment of the present application, such as Fig.12 As shown, the process is implemented as:
[0145] S1201, the program automatically sets the attribute information corresponding to the display position of each attribute information in the team formation sub-interface.
[0146] S1202, the program marks the identification display position corresponding to the attribute information on the team display control.
[0147] S1203, the program numbers the display position of the attribute information and the display position of the logo 1, 2, 3...n in correspondence.
[0148] That is to say, when the canvas is being made, the attribute information corresponding to each position is not set. Instead, the program sets the attribute information corresponding to each display position, and sets the attribute information corresponding to each identification display position, and numbers them in corresponding groups, so that the display position of the attribute information corresponds one-to-one with the identification display position.
[0149] In another possible implementation, the team display control is marked with an identification display position, and the identification display position is fixedly set based on the attribute information of the virtual object.
[0150] That is to say, the attribute information of the virtual object corresponding to the logo display position on the team display control is fixed. For example, logo display position 1 corresponds to the virtual object's role type as tank, logo display position 2 corresponds to the virtual object's role as auxiliary, and logo position 3 corresponds to the virtual object's role as output. These are fixed and will not change with the change of the display position of the virtual object's attribute information in the team sub-interface.
[0151] In this case, the object prompt identifier corresponding to each virtual object is displayed on the team display control as follows:
[0152] According to the attribute information of the second target virtual object, obtaining a logo display position corresponding to the object prompt logo of the second target virtual object as the third display position; the second target virtual object is any one of the virtual objects, and the target object prompt logo is an object prompt logo generated based on the attribute information of the second target virtual object;
[0153] The object prompt mark of the second target virtual object is displayed at the third display position.
[0154] Fig.13 A schematic diagram of a target scene interface shown in an exemplary embodiment of the present application is shown in FIG. Fig.13 As shown, the target scene interface includes a team display control 1310 and a team sub-interface 1320 superimposed thereon, wherein the attribute information of the virtual object corresponding to each identification display position in the team display control 1310 is fixed, and the display position of the attribute information of the virtual object in the team sub-interface is not restricted. Fig.13 In the figure, the identification display position 1311 corresponds to virtual object 1, the identification display position 1312 corresponds to virtual object 2, and the identification display position 1313 corresponds to virtual object 3. That is to say, no matter how the attribute information of the virtual object is displayed in the team sub-interface, it will be displayed at the identification display position of the team display control according to the identification display position corresponding to the preset attribute information.
[0155] In a possible implementation, the method further includes:
[0156] In response to the first target virtual object leaving the target team, the object prompt identifier of the first target virtual object is removed from the team display control.
[0157] In one possible implementation, the first target virtual object leaving the target team may be the first target virtual object exiting the target team, or the first target virtual object's life value may be 0, and the first target virtual object is determined to be eliminated. In the above case, the object prompt identifier of the first target virtual object is removed from the team display control.
[0158] In a possible implementation, the terminal records the placeholder status of the display position of the attribute information of each virtual object in the team sub-interface by establishing a container, and prompts the addition and removal of the object on the team display control according to the recorded placeholder status. Fig.14 FIG. 4 shows a flowchart of determining the filling state of a logo display position according to an exemplary embodiment of the present application. Fig.14 As shown, the process includes:
[0159] S1401: A first target virtual object joins a team, and attribute information of the first virtual object is obtained.
[0160] S1402: Displaying attribute information of the first virtual object in the team formation sub-interface.
[0161] S1403: Record the placeholder status of the display position of the corresponding attribute information in the container as 1.
[0162] S1404: The first target virtual object leaves the team.
[0163] S1405: Record the placeholder status of the display position of the corresponding attribute information in the container as 0.
[0164] When the placeholder status of the display position of the attribute information is 1, confirm that the corresponding logo display position is in a filled state and the corresponding object prompt logo is displayed; when the placeholder status of the display position of the attribute information is 0, confirm that the corresponding logo display position is in an unfilled state.
[0165] In one possible implementation, in response to the life value of the first target virtual object being 0, the object prompt identifier corresponding to the first target virtual object is retained after specified processing is performed on it. For example, the specified processing refers to setting the object prompt identifier to a grayscale image, or adding a preset graphic to the object prompt identifier to indicate that the first target virtual object has been eliminated.
[0166] To summarize, the object prompt method provided in the embodiment of the present application, by superimposing an object prompt identifier indicating the attribute information of each virtual object in the team sub-interface on the team display control used to trigger the team sub-interface, enables the team information in the team sub-interface to be displayed on the team display control, reduces the interface switching operations required to obtain the team information in the team sub-interface, and thus reduces the waste of terminal power and processing resources due to frequent interface switching operations.
[0167] Fig.15 A flowchart of an object prompting method provided by an exemplary embodiment of the present application is shown. The object prompting method can be executed by a terminal, wherein the terminal can be Figure 1 The terminal shown. Fig.15 As shown, the object prompt method includes the following steps:
[0168] Step 1510, displaying a target scene interface, which includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team.
[0169] Step 1520: In response to the target virtual object existing in the target team, an object prompt identifier corresponding to the target virtual object is superimposed and displayed on the team display control, where the object prompt identifier is generated based on the attribute information of the target virtual object.
[0170] In a possible implementation, the target scene interface includes at least one other display control except the team display control, and the display area of the display sub-interface corresponding to the other display control overlaps with the display area of the team sub-interface corresponding to the team display control;
[0171] In response to receiving a touch operation based on the team display control, displaying a team sub-interface in a display area corresponding to the team display control;
[0172] In response to receiving a touch operation based on a first display control, displaying a display sub-interface corresponding to the first display control in a display area corresponding to the first display control, the first display control being any one of at least one other display control;
[0173] Among them, the team display control does not overlap with the sub-interface display area, and the sub-interface display area includes the display area corresponding to the team sub-interface and the display area of the display sub-interface corresponding to other display controls.
[0174] To summarize, the object prompt method provided in the embodiment of the present application, by superimposing an object prompt identifier indicating the attribute information of each virtual object in the team sub-interface on the team display control used to trigger the team sub-interface, enables more team information in the team sub-interface to be displayed on the team display control, reduces the interface switching operations required to obtain the team information in the team sub-interface, and thus reduces the waste of terminal power and processing resources due to frequent interface switching operations.
[0175] Fig.16 A block diagram of an object prompting device provided by an exemplary embodiment of the present application is shown. The object prompting device can be applied to a terminal, wherein the terminal can be Figure 1 The terminal shown. Fig.16 As shown, the object prompting device comprises:
[0176] The interface display module 1610 is used to display the target scene interface, which includes a team display control; the team display control is used to trigger the display of a team sub-interface on the target scene interface; the team sub-interface is used to display the attribute information of each virtual object in the target team;
[0177] The identification generation module 1620 is used to generate an object prompt identification corresponding to each virtual object based on the attribute information of each virtual object;
[0178] The identification display module 1630 is used to superimpose and display the object prompt identification corresponding to each virtual object on the team display control.
[0179] In a possible implementation, the identification generating module 1620 includes:
[0180] A display attribute determination submodule, used to determine the display attribute of the object prompt identifier corresponding to each virtual object according to the mapping relationship between the attribute information and the display attribute of the object prompt identifier;
[0181] The identifier generation submodule is used to generate the object prompt identifier corresponding to each virtual object based on the display attributes of the object prompt identifier corresponding to each virtual object.
[0182] In a possible implementation manner, the display attribute of the object prompt mark includes: at least one of the color of the object prompt mark, the shape of the object prompt mark, the pattern included in the object prompt mark, and the size of the object prompt mark.
[0183] In a possible implementation, the attribute information includes at least one of: an object type of the corresponding virtual object, a role type of the corresponding virtual object in the target team, a specified type attribute value of the corresponding virtual object, and a gain state of the corresponding virtual object.
[0184] In a possible implementation, the team display control is marked with an identification display position, and the identification display position corresponds one-to-one to the display position of the attribute information of each virtual object included in the team sub-interface;
[0185] The identification display module 1630 includes:
[0186] A first position acquisition submodule is used to acquire a first display position, where the first display position is a display position of the attribute information of the first target virtual object in the team formation sub-interface; the first target virtual object is any one of the virtual objects;
[0187] A second position acquisition submodule, configured to acquire a second display position based on the first display position, wherein the second display position is a logo display position corresponding to the first display position;
[0188] The identification display submodule is used to display the object prompt identification of the first target virtual object at the second display position.
[0189] In a possible implementation, the team sub-interface includes n display positions of attribute information, each display position of attribute information has a corresponding first type position number; n identification display positions are marked on the team display control, each identification display position has a corresponding second type position number, wherein the first type position number corresponds to the second type position number one by one, and n is a positive integer;
[0190] The second position acquisition submodule includes:
[0191] A number obtaining unit, used to obtain a first type position number of a first display position;
[0192] The second position acquisition unit is used to acquire the second display position based on the first type position number of the first display position, wherein the second type position number of the second display position corresponds to the first type position number of the first display position.
[0193] In a possible implementation, the device further includes:
[0194] The identification removal module is used to remove the object prompt identification of the first target virtual object from the team display control in response to the first target virtual object leaving the target team.
[0195] In a possible implementation, the team display control is marked with an identification display position, and the identification display position is fixedly set based on the attribute information of the virtual object;
[0196] The identification display module 1630 includes:
[0197] A third position acquisition submodule is used to acquire, according to the attribute information of the second target virtual object, an identification display position corresponding to the object prompt identifier of the second target virtual object as the third display position; the second target virtual object is any one of the virtual objects, and the target object prompt identifier is an object prompt identifier generated based on the attribute information of the second target virtual object;
[0198] The mark display submodule is used to display the object prompt mark of the second target virtual object at the third display position.
[0199] In a possible implementation, the target scene interface includes at least one other display control except the team display control, and the display area of the display sub-interface corresponding to the other display control overlaps with the display area of the team sub-interface corresponding to the team display control;
[0200] The team display control does not overlap with other display controls, and the team display control does not overlap with the sub-interface display area. The sub-interface display area includes the display area corresponding to the team sub-interface and the display area of the display sub-interface corresponding to other display controls.
[0201] To sum up, the object prompt device provided in the embodiment of the present application is applied in a terminal. By superimposing an object prompt identifier indicating the attribute information of each virtual object in the team sub-interface on the team display control used to trigger the team sub-interface, the team information in the team sub-interface can be displayed on the team display control, reducing the interface switching operations required to obtain the team information in the team sub-interface, thereby reducing the waste of terminal power and processing resources due to frequent interface switching operations.
[0202] Fig.17 A block diagram of an object prompting device provided by an exemplary embodiment of the present application is shown. The object prompting device can be applied to a terminal, wherein the terminal can be Figure 1 The terminal shown. Fig.17 As shown, the object prompting device comprises:
[0203] The interface display module 1710 is used to display the target scene interface, which includes a team display control; the team display control is used to trigger the display of a team sub-interface on the target scene interface; the team sub-interface is used to display the attribute information of each virtual object in the target team;
[0204] The identification display module 1720 is used to superimpose and display an object prompt identification corresponding to the target virtual object on the team display control in response to the target virtual object existing in the target team, and the object prompt identification is generated based on the attribute information of the target virtual object.
[0205] In a possible implementation, the target scene interface includes at least one other display control except the team display control, and the display area of the display sub-interface corresponding to the other display control overlaps with the display area of the team sub-interface corresponding to the team display control; the device also includes:
[0206] A first display module, configured to display a team sub-interface in a display area corresponding to the team display control in response to receiving a touch operation based on the team display control;
[0207] A second display module, configured to display a display sub-interface corresponding to the first display control in a display area corresponding to the first display control in response to receiving a touch operation based on the first display control, where the first display control is any one of the at least one other display control;
[0208] Among them, the team display control does not overlap with the sub-interface display area, and the sub-interface display area includes the display area corresponding to the team sub-interface and the display area of the display sub-interface corresponding to other display controls.
[0209] To sum up, the object prompt device provided in the embodiment of the present application is applied in a terminal. By superimposing an object prompt identifier indicating the attribute information of each virtual object in the team sub-interface on the team display control used to trigger the team sub-interface, the team information in the team sub-interface can be displayed on the team display control, reducing the interface switching operations required to obtain the team information in the team sub-interface, thereby reducing the waste of terminal power and processing resources due to frequent interface switching operations.
[0210] Fig.18 1 is a structural block diagram of a computer device 1800 according to an exemplary embodiment. The computer device can be implemented as the server in the above solution of the present application.
[0211] The computer device 1800 includes a central processing unit (CPU) 1801, a system memory 1804 including a random access memory (RAM) 1802 and a read-only memory (ROM) 1803, and a system bus 1805 connecting the system memory 1804 and the central processing unit 1801. The computer device 1800 also includes a basic input / output system (I / O system) 1806 for facilitating information transmission between various components in the computer, and a large-capacity storage device 1807 for storing an operating system 1813, application programs 1814, and other program modules 1815.
[0212] The basic input / output system 1806 includes a display 1808 for displaying information and an input device 1809 such as a mouse and a keyboard for user inputting information. The display 1808 and the input device 1809 are connected to the central processing unit 1801 through an input / output controller 1810 connected to the system bus 1805. The basic input / output system 1806 may also include an input / output controller 1810 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1810 also provides output to a display screen, a printer, or other types of output devices.
[0213] The mass storage device 1807 is connected to the central processing unit 1801 through a mass storage controller (not shown) connected to the system bus 1805. The mass storage device 1807 and its associated computer readable medium provide non-volatile storage for the computer device 1800. That is, the mass storage device 1807 may include a computer readable medium (not shown) such as a hard disk or a compact disc read-only memory (CD-ROM) drive.
[0214] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, Erasable Programmable Read Only Memory (EPROM), Electronically-Erasable Programmable Read-Only Memory (EEPROM) flash memory or other solid-state storage technology, CD-ROM, Digital Versatile Disc (DVD) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage medium is not limited to the above. The above-mentioned system memory 1804 and mass storage device 1807 can be collectively referred to as memory.
[0215] According to various embodiments of the present disclosure, the computer device 1800 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 1800 can be connected to the network 1812 through the network interface unit 1811 connected to the system bus 1805, or the network interface unit 1811 can be used to connect to other types of networks or remote computer systems (not shown).
[0216] The memory also includes at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is stored in the memory. The central processing unit 1801 implements all or part of the steps performed by the server in the object prompt method shown in the above-mentioned embodiments by executing the at least one instruction, at least one program, code set or instruction set.
[0217] Fig.191 is a block diagram of a computer device 1900 according to an exemplary embodiment. The computer device 1900 may be a user terminal, such as a smart phone, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a notebook computer, or a desktop computer. The computer device 1900 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal, or other names.
[0218] Typically, the computer device 1900 includes a processor 1901 and a memory 1902 .
[0219] The processor 1901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0220] The memory 1902 may include one or more computer-readable storage media, which may be non-transitory. The memory 1902 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1902 is used to store at least one instruction, which is used to be executed by the processor 1901 to implement the object prompt method in the virtual scene provided by the method embodiment of the present application.
[0221] In some embodiments, the computer device 1900 may also optionally include: a peripheral device interface 1903 and at least one peripheral device. The processor 1901, the memory 1902 and the peripheral device interface 1903 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1903 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1904, a display screen 1905, a camera assembly 1906, an audio circuit 1907 and a power supply 1909.
[0222] The peripheral device interface 1903 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1901 and the memory 1902. In some embodiments, the processor 1901, the memory 1902, and the peripheral device interface 1903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1901, the memory 1902, and the peripheral device interface 1903 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0223] The radio frequency circuit 1904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1904 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1904 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1904 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1904 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1904 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0224] The display screen 1905 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1905 is a touch display screen, the display screen 1905 also has the ability to collect touch signals on the surface or above the surface of the display screen 1905. The touch signal can be input to the processor 1901 as a control signal for processing. At this time, the display screen 1905 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1905 can be one, and the front panel of the computer device 1900 is set; in other embodiments, the display screen 1905 can be at least two, which are respectively set on different surfaces of the computer device 1900 or are folded; in some other embodiments, the display screen 1905 can be a flexible display screen, which is set on the curved surface or folded surface of the computer device 1900. Even, the display screen 1905 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1905 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0225] The camera assembly 1906 is used to capture images or videos. Optionally, the camera assembly 1906 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1906 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0226] The audio circuit 1907 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1901 for processing, or input them into the radio frequency circuit 1904 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1900. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1901 or the radio frequency circuit 1904 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1907 may also include a headphone jack.
[0227] The power supply 1909 is used to power various components in the computer device 1900. The power supply 1909 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1909 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0228] In some embodiments, the computer device 1900 further includes one or more sensors 1910 , including but not limited to: an acceleration sensor 1911 , a gyroscope sensor 1912 , a pressure sensor 1913 , an optical sensor 1915 , and a proximity sensor 1916 .
[0229] The acceleration sensor 1911 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1900. For example, the acceleration sensor 1911 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1901 can control the touch display screen 1905 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1911. The acceleration sensor 1911 can also be used to collect game or user motion data.
[0230] The gyro sensor 1912 can detect the body direction and rotation angle of the computer device 1900, and the gyro sensor 1912 can cooperate with the acceleration sensor 1911 to collect the user's 3D actions on the computer device 1900. The processor 1901 can implement the following functions based on the data collected by the gyro sensor 1912: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0231] The pressure sensor 1913 can be set on the side frame of the computer device 1900 and / or the lower layer of the touch display screen 1905. When the pressure sensor 1913 is set on the side frame of the computer device 1900, it can detect the user's grip signal of the computer device 1900, and the processor 1901 performs left and right hand recognition or shortcut operations according to the grip signal collected by the pressure sensor 1913. When the pressure sensor 1913 is set on the lower layer of the touch display screen 1905, the processor 1901 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1905. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0232] The optical sensor 1915 is used to collect the ambient light intensity. In one embodiment, the processor 1901 can control the display brightness of the touch display screen 1905 according to the ambient light intensity collected by the optical sensor 1915. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1905 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1905 is reduced. In another embodiment, the processor 1901 can also dynamically adjust the shooting parameters of the camera component 1906 according to the ambient light intensity collected by the optical sensor 1915.
[0233] The proximity sensor 1916, also called a distance sensor, is usually disposed on the front panel of the computer device 1900. The proximity sensor 1916 is used to collect the distance between the user and the front of the computer device 1900. In one embodiment, when the proximity sensor 1916 detects that the distance between the user and the front of the computer device 1900 is gradually decreasing, the processor 1901 controls the touch display screen 1905 to switch from the screen-on state to the screen-off state; when the proximity sensor 1916 detects that the distance between the user and the front of the computer device 1900 is gradually increasing, the processor 1901 controls the touch display screen 1905 to switch from the screen-off state to the screen-on state.
[0234] Those skilled in the art will understand that Fig.19 The structure shown in the figure does not constitute a limitation on the computer device 1900, and the computer device 1900 may include more or less components than shown in the figure, or combine some components, or adopt a different arrangement of components.
[0235] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory including at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, at least one program, code set, or instruction set can be executed by a processor to perform the above Figure 4 , Figure 5Or 15 corresponds to all or part of the steps of the method shown in the embodiment. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0236] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-mentioned Figure 4 , Figure 5 Or all or part of the steps of the method shown in any embodiment 15.
[0237] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.
[0238] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. An object prompting method, characterized in that: The method comprises: Displaying a target scene interface, wherein the target scene interface includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team; the team display control is marked with multiple identification display positions; In response to a target virtual object joining the target team, filling and displaying an object prompt mark of the target virtual object in the outline of the target mark display position among the multiple mark display positions; the object prompt mark is used to indicate attribute information of the virtual object; In response to the target virtual object leaving the target team, the object prompt mark of the target virtual object is removed from the outline of the target mark display position.
2. The method according to claim 1, characterized in that: In response to the target virtual object joining the target team, filling and displaying the object prompt mark of the target virtual object in the outline of the target mark display position among the multiple mark display positions includes: In response to the target virtual object joining the target team, determining the display attribute of the object prompt identifier of the target virtual object according to a mapping relationship between the attribute information of the virtual object and the display attribute of the object prompt identifier; Based on the display attribute of the object prompt identifier of the target virtual object, the object prompt identifier of the target object is filled and displayed in the outline of the target identifier display position among the plurality of identifier display positions.
3. The method according to claim 2, characterized in that The display attribute of the object prompt mark includes: at least one of the color of the object prompt mark, the shape of the object prompt mark, the pattern included in the object prompt mark, and the size of the object prompt mark.
4. The method according to claim 2, characterized in that: The attribute information of the virtual object includes at least one of an object type of the virtual object, a role type of the virtual object in the target team, a designated type attribute value of the virtual object, and a gain status of the virtual object.
5. The method according to claim 1, characterized in that: The display position of the logo corresponds one-to-one to the display position of the attribute information of each virtual object contained in the team formation sub-interface; Before filling and displaying the object prompting mark of the target virtual object in the outline of the target mark display position among the multiple mark display positions, the method further includes: Acquire a first display position, where the first display position is a display position of the attribute information of the target virtual object in the team formation sub-interface; Based on the first display position, the target logo display position is acquired; the target logo display position is the logo display position corresponding to the first display position among the multiple logo display positions.
6. The method according to claim 5, characterized in that The team formation sub-interface includes n display positions of the attribute information, each display position of the attribute information has a corresponding first type position number; the team formation display control is marked with n identification display positions, each identification display position has a corresponding second type position number, wherein the first type position number corresponds to the second type position number one by one, and n is a positive integer; The acquiring the target identification display position based on the first display position includes: Obtain a first type position number of the first display position; The target identification display position is acquired based on the first type position number of the first display position; the second type position number of the target identification display position corresponds to the first type position number of the first display position.
7. The method according to claim 1, characterized in that The logo display position is fixedly set based on the attribute information of the virtual object; Before filling and displaying the object prompting mark of the target virtual object in the outline of the target mark display position among the multiple mark display positions, the method further includes: The target identification display position is obtained according to the attribute information of the target virtual object.
8. The method according to claim 1, characterized in that: The target scene interface includes at least one other display control except the team display control, and a display area of a display sub-interface corresponding to the other display control overlaps with a display area of the team sub-interface corresponding to the team display control; The team display control does not overlap with the other display controls, and the team display control does not overlap with the sub-interface display area, and the sub-interface display area includes a display area corresponding to the team sub-interface and a display area of the display sub-interface corresponding to the other display controls.
9. The method according to claim 1, characterized in that: The method further comprises: In response to the target virtual object being eliminated, removing the object prompt mark of the target virtual object from the outline of the target mark display position; or, In response to the target virtual object being eliminated, the object prompt identifier of the target virtual object after specified processing is filled and displayed in the outline of the target identifier display position among the multiple identifier display positions; the specified processing includes setting the object prompt identifier to a grayscale image, and adding at least one of the graphics on the object prompt identifier to indicate that the virtual object has been eliminated.
10. An object prompting device, characterized in that: The device comprises: An interface display module is used to display a target scene interface, wherein the target scene interface includes a team display control; the team display control is used to trigger the display of a team sub-interface superimposed on the target scene interface; the team sub-interface is used to display attribute information of each virtual object in the target team; and the team display control is marked with multiple identification display positions; The identification display module is used to fill and display the object prompt identification of the target virtual object in the outline of the target identification display position among the multiple identification display positions in response to the target virtual object joining the target team; the object prompt identification is used to indicate the attribute information of the virtual object.
11. A computer device, characterized in that: The computer device comprises a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to implement the object prompting method as claimed in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: At least one computer program is stored in the storage medium, and the at least one computer program is loaded and executed by the processor to implement the object prompting method according to any one of claims 1 to 9.
13. A computer program product, characterized in that The computer program product comprises at least one computer program, and the computer program is loaded and executed by a processor to implement the object prompting method according to any one of claims 1 to 9.
